$code
$code :
concat(string|\Box\Brainy\Compiler\Wrappers\StaticWrapper $left, string|\Box\Brainy\Compiler\Wrappers\StaticWrapper $right) : string|\Box\Brainy\Compiler\Wrappers\StaticWrapper
Combine two values which may be static wrappers. The output is only a static wrapper if both the left and the right are static wrappers.
string|\Box\Brainy\Compiler\Wrappers\StaticWrapper | $left | |
string|\Box\Brainy\Compiler\Wrappers\StaticWrapper | $right |
static_concat(string|\Box\Brainy\Compiler\Wrappers\StaticWrapper $left, string|\Box\Brainy\Compiler\Wrappers\StaticWrapper $right) : string|\Box\Brainy\Compiler\Wrappers\StaticWrapper
Combine two values which may be static wrappers. The output is a static wrapper if either the left or the right are static wrappers. This is only to be used in cases where the left or the right is known not to affect whether the result is a static wrapper.
string|\Box\Brainy\Compiler\Wrappers\StaticWrapper | $left | |
string|\Box\Brainy\Compiler\Wrappers\StaticWrapper | $right |
static_if_all(string $code, array $conditions) : string|\Box\Brainy\Compiler\Wrappers\StaticWrapper
If all of the values in $conditions are static wrappers, the result is a static wrapper of $code. Otherwise, $code is returned.
string | $code | |
array | $conditions |