Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
app
models
Permission
canBeAssigned
app\models\Permission::canBeAssigned PHP Method
Permission Class Documentation
显示文件
Open project: sroutier/laravel-5.1-enterprise-starter-kit
canBeAssigned()
public
method
public
canBeAssigned
( ) :
boolean
return
boolean
public function canBeAssigned() { if ('guest-only' == $this->name) { return false; } return true; }
Permission
assignRoles
assignRoutes
canBeAssigned
clearRouteAssociation
getIsUsedAttribute
getIsUsedByRoleAttribute
getIsUsedByRouteAttribute
hasRole
isDeletable
isEditable
isForced
menu
routes