protected function getResourceAction($resource, $controller, $method, $options)
    {
        $name = $this->getResourceName($resource, $method, $options);

        return array('as' => $name, 'uses' => $controller .'@' .$method);
    }
protected function getResourceAction($resource, $controller, $method, $options)
    {
        $name = $this->getResourceName($resource, $method, $options);

        return array('as' => $name, 'uses' => $controller .'@' .$method);
    }
protected function getResourceAction ( $ resource , $ controller , $ method , $ options ) { $ name = $ this -> getResourceName ( $ resource , $ method , $ options ) ; return array ( 'as' => $ name , 'uses' => $ controller . '@' . $ method ) ; }
Get the action array for a resource route.

@param  string  $resource
@param  string  $controller
@param  string  $method
@param  array   $options
@return array
Get the action array for a resource route .