AuthorizesResources (Foundation\Auth)
AuthorizesResources
trait AuthorizesResources (View source)
Methods
ControllerMiddlewareOptions | authorizeResource( string $model, string|null $name = null, array $options = array(), Request|null $request = null) Authorize a resource action based on the incoming request. |
Details
ControllerMiddlewareOptions authorizeResource( string $model, string|null $name = null, array $options = array(), Request|null $request = null)
Authorize a resource action based on the incoming request.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.2/Illuminate/Foundation/Auth/Access/AuthorizesResources.html