Latte\MacroTokens::prepend PHP Method

prepend() public method

Prepends simple token or string (will be parsed).
public prepend ( $val ) : static
return static
    public function prepend($val)
    {
        if ($val != NULL) {
            // intentionally @
            array_splice($this->tokens, 0, 0, is_array($val) ? [$val] : $this->parse($val));
        }
        return $this;
    }