trait Utilities (View source)

Methods

__get(string $key)

No description

__set(string $key, $value)

No description

fileToXpath(string $menuFile)

No description

bool
sessionExists(string $sessionId)

No description

string
clean(string $code = '')

No description

string|null
getAnswer(string|null $userInput)

No description

string
resolveTagName(DOMNode $node)

No description

string
resolveTagClass(string $tagName)

No description

instantiateTag(string $tagName, array $args = [])

No description

Details

__get(string $key)

No description

Parameters

string $key

__set(string $key, $value)

No description

Parameters

string $key
$value

protected DOMXPath fileToXpath(string $menuFile)

No description

Parameters

string $menuFile

Return Value

DOMXPath

protected bool sessionExists(string $sessionId)

No description

Parameters

string $sessionId

Return Value

bool

protected string clean(string $code = '')

No description

Parameters

string $code

Return Value

string

protected string|null getAnswer(string|null $userInput)

No description

Parameters

string|null $userInput

Return Value

string|null

protected string resolveTagName(DOMNode $node)

No description

Parameters

DOMNode $node

Return Value

string

protected string resolveTagClass(string $tagName)

No description

Parameters

string $tagName

Return Value

string

protected RenderableTag instantiateTag(string $tagName, array $args = [])

No description

Parameters

string $tagName
array $args

Return Value

RenderableTag