Jade\Compiler\ExpressionCompiler::phpizeExpression PHP Method

phpizeExpression() protected method

protected phpizeExpression ( $method )
    protected function phpizeExpression($method)
    {
        $arguments = array_slice(func_get_args(), 1);
        switch ($this->getExpressionLanguage()) {
            case Jade::EXP_PHP:
                return $arguments[0];
            case Jade::EXP_JS:
                return $this->jsToPhp($method, $arguments);
        }
        return call_user_func_array(array(get_called_class(), $method), $arguments);
    }