/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/HttpKernel/Tests/Fixtures/LazyResettableService.php
27 строк
515 B
Nicolas Grekas
[VarExporter] Leverage native lazy objects
22 мар 2025, 20:10
22 мар 2025, 20:10
a00855a
Код
Авторство
О чём код?
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpKernel\Tests\Fixtures; class LazyResettableService extends \stdClass { public static $counter = 0; public function foo(): bool { return true; } public function reset(): void { ++self::$counter; } }