aboutsummaryrefslogtreecommitdiff
path: root/lib/exTpl/RawExpression.php
blob: 275f239a6519a6b6053ae5ffc422751b28f69a27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

namespace exTpl;

/**
 * RawExpression represents the "raw" filter function.
 */
class RawExpression extends UnaryExpression
{
    /**
     * Returns the value of this expression.
     *
     * @param Context $context symbol table
     */
    public function value(Context $context): mixed
    {
        return $this->expr->value($context);
    }
}