App\Http\Requests\CreateExpenseCategoryRequest::authorize PHP Метод

authorize() публичный Метод

Determine if the user is authorized to make this request.
public authorize ( ) : boolean
Результат boolean
    public function authorize()
    {
        return $this->user()->can('create', ENTITY_EXPENSE_CATEGORY);
    }
CreateExpenseCategoryRequest