CompilesAuthorizations
trait CompilesAuthorizations
Methods
string
compileCan(string $expression)
Compile the can statements into valid PHP.
string
compileCannot(string $expression)
Compile the cannot statements into valid PHP.
string
compileElsecan(string $expression)
Compile the else-can statements into valid PHP.
string
compileElsecannot(string $expression)
Compile the else-cannot statements into valid PHP.
string
compileEndcan()
Compile the end-can statements into valid PHP.
string
compileEndcannot()
Compile the end-cannot statements into valid PHP.
Details
at line 13
protected string
compileCan(string $expression)
Compile the can statements into valid PHP.
at line 24
protected string
compileCannot(string $expression)
Compile the cannot statements into valid PHP.
at line 35
protected string
compileElsecan(string $expression)
Compile the else-can statements into valid PHP.
at line 46
protected string
compileElsecannot(string $expression)
Compile the else-cannot statements into valid PHP.
at line 56
protected string
compileEndcan()
Compile the end-can statements into valid PHP.
at line 66
protected string
compileEndcannot()
Compile the end-cannot statements into valid PHP.