trait PathAware (View source)

Path aware trait for rules and bypasses

Methods

public
string
getPath()

Returns the path

public
$this
setPath(string $path)

Update the path

protected
string
normalisePath(string $path)

Returns the normalised version of the given path

Details

string getPath()

Returns the path

Return Value

string

$this setPath(string $path)

Update the path

Parameters

string $path

Return Value

$this

protected string normalisePath(string $path)

Returns the normalised version of the given path

Parameters

string $path

Path to normalise

Return Value

string

normalised version of the path