Method | Description | |
---|---|---|
__construct ( string $text, boolean $inPhpContext = false ) | When $inPhpContext is true, instead of putting the expression inde php tags () the class will render a concatenation like: . ($text) . unless the interpolation makes the whole text. In which case, it will only the markers (#{ and }) will be removed. | |
render ( ) |
Method | Description | |
---|---|---|
_containsInterpolation ( $str ) |
public __construct ( string $text, boolean $inPhpContext = false ) | ||
$text | string | |
$inPhpContext | boolean | (default: false) Whether this interpolation is already inside or not |