MOON
Server: Apache
System: Linux server1.studioinfinity.com.br 2.6.32-954.3.5.lve1.4.90.el6.x86_64 #1 SMP Tue Feb 21 12:26:30 UTC 2023 x86_64
User: artinside (517)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/artinside/public_html/lhh/vendor/league/plates/src/Extension/RenderContext/FuncArgs.php
<?php

namespace League\Plates\Extension\RenderContext;

use League\Plates;

final class FuncArgs
{
    public $render;
    public $ref;
    public $func_name;
    public $args;

    public function __construct(Plates\RenderTemplate $render, Plates\TemplateReference $ref, $func_name, $args = []) {
        $this->render = $render;
        $this->ref = $ref;
        $this->func_name = $func_name;
        $this->args = $args;
    }

    public function template() {
        return $this->ref->template;
    }

    public function withName($func_name) {
        return new self($this->render, $this->ref, $func_name, $this->args);
    }
    public function withArgs($args) {
        return new self($this->render, $this->ref, $this->func_name, $args);
    }
}