Вход Регистрация
Файл: upload/core/vendor/twig/twig/src/Node/Expression/SupportDefinedTestTrait.php
Строк: 22
<?php

/*
 * This file is part of Twig.
 *
 * (c) Fabien Potencier
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace TwigNodeExpression;

trait 
SupportDefinedTestTrait
{
    private 
bool $definedTest false;

    public function 
enableDefinedTest(): void
    
{
        
$this->definedTest true;
    }

    public function 
isDefinedTestEnabled(): bool
    
{
        return 
$this->definedTest;
    }
}
Онлайн: 0
Реклама