Ntb\RestAPI\NestedResourceRestController::getRootResource
The result of this method will be injected in all method calls in the controller.
Signature
protected function getRootResource(string
$id )
Parameters
$id
— string- the `ID` param in the request
Returns
- mixed