class Code implements FilterableConfigValue

Wrapper used to identify strings that should be treated as JavaScript source code

Properties

string $code

Methods

__construct(string $code)

Constructor

string
__toString()

Return this source code

mixed
filterConfig($target)

Return the config value for given target

Details

at line 27
__construct(string $code)

Constructor

Parameters

string $code

JavaScript source code

at line 37
string __toString()

Return this source code

Return Value

string

at line 45
mixed filterConfig($target)

Return the config value for given target

Parameters

$target

Return Value

mixed