trait
Illuminate
/
View
/
Compilers
/
Concerns
/
CompilesAuthorizations
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
CompilesAuthorizations
Methods
protected
compileCan ( $expression ) : string
Compile the can statements into valid PHP.
Parameters
- $expression string
protected
compileCannot ( $expression ) : string
Compile the cannot statements into valid PHP.
Parameters
- $expression string
protected
compileCanany ( $expression ) : string
Compile the canany statements into valid PHP.
Parameters
- $expression string
protected
compileElsecan ( $expression ) : string
Compile the else-can statements into valid PHP.
Parameters
- $expression string
protected
compileElsecannot ( $expression ) : string
Compile the else-cannot statements into valid PHP.
Parameters
- $expression string
protected
compileElsecanany ( $expression ) : string
Compile the else-canany statements into valid PHP.
Parameters
- $expression string
protected
compileEndcan ( ) : string
Compile the end-can statements into valid PHP.
protected
compileEndcannot ( ) : string
Compile the end-cannot statements into valid PHP.
protected
compileEndcanany ( ) : string
Compile the end-canany statements into valid PHP.