CompilesAuthorizations
trait CompilesAuthorizations
Methods
Compile the can statements into valid PHP.
Compile the cannot statements into valid PHP.
Compile the canany statements into valid PHP.
Compile the else-can statements into valid PHP.
Compile the else-cannot statements into valid PHP.
Compile the else-canany statements into valid PHP.
Compile the end-can statements into valid PHP.
Compile the end-cannot statements into valid PHP.
Compile the end-canany statements into valid PHP.
Details
at line 12
protected string
compileCan(string $expression)
Compile the can statements into valid PHP.
at line 20
protected string
compileCannot(string $expression)
Compile the cannot statements into valid PHP.
at line 28
protected string
compileCanany(string $expression)
Compile the canany statements into valid PHP.
at line 36
protected string
compileElsecan(string $expression)
Compile the else-can statements into valid PHP.
at line 44
protected string
compileElsecannot(string $expression)
Compile the else-cannot statements into valid PHP.
at line 52
protected string
compileElsecanany(string $expression)
Compile the else-canany statements into valid PHP.
at line 60
protected string
compileEndcan()
Compile the end-can statements into valid PHP.
at line 68
protected string
compileEndcannot()
Compile the end-cannot statements into valid PHP.
at line 76
protected string
compileEndcanany()
Compile the end-canany statements into valid PHP.