메소드 | 설명 | |
---|---|---|
__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 ( ) |
메소드 | 설명 | |
---|---|---|
_containsInterpolation ( $str ) |
public __construct ( string $text, boolean $inPhpContext = false ) | ||
$text | string | |
$inPhpContext | boolean | (default: false) Whether this interpolation is already inside or not |