design-patterns/src/Pattern/Creational/Singleton/Single.php
2025-07-03 19:35:54 +03:00

21 lines
381 B
PHP

<?php
/**
* @package: patterns
* @author: Yevhen Odynets
* @date: 2025-07-03
* @time: 10:22
*/
//phpcs:ignore
declare(strict_types = 1);
namespace Pattern\Creational\Singleton;
class Single extends Singleton implements SingleInterface
{
public function childish(): void
{
/** @noinspection ForgottenDebugOutputInspection */
dump(__METHOD__);
}
}