class ResourceController extends BaseResource
{ use ResponseTrait;
/**
* Return an array of resource objects, themselves in array format
*
* @return ResponseInterface|string|void
*/
public function index() { return $this->
fail(lang('RESTful.notImplemented',
['index'
]), 501
);
} /**
* Return the properties of a resource object
*
* @param int|string|null $id
*
* @return ResponseInterface|string|void
*/
public function show($id = null
) {