Documentation

CompilesAuthorizations

Table of Contents

compileCan()  : string
Compile the can statements into valid PHP.
compileCannot()  : string
Compile the cannot statements into valid PHP.
compileElsecan()  : string
Compile the else-can statements into valid PHP.
compileElsecannot()  : string
Compile the else-cannot statements into valid PHP.
compileEndcan()  : string
Compile the end-can statements into valid PHP.
compileEndcannot()  : string
Compile the end-cannot statements into valid PHP.

Methods

compileCan()

Compile the can statements into valid PHP.

protected compileCan(string $expression) : string
Parameters
$expression : string
Return values
string

compileCannot()

Compile the cannot statements into valid PHP.

protected compileCannot(string $expression) : string
Parameters
$expression : string
Return values
string

compileElsecan()

Compile the else-can statements into valid PHP.

protected compileElsecan(string $expression) : string
Parameters
$expression : string
Return values
string

compileElsecannot()

Compile the else-cannot statements into valid PHP.

protected compileElsecannot(string $expression) : string
Parameters
$expression : string
Return values
string

compileEndcan()

Compile the end-can statements into valid PHP.

protected compileEndcan() : string
Return values
string

compileEndcannot()

Compile the end-cannot statements into valid PHP.

protected compileEndcannot() : string
Return values
string

Search results