/
opt
/
cpanel
/
ea-wappspector
/
vendor
/
php-di
/
php-di
/
src
/
Attribute
/
/opt/cpanel/ea-wappspector/vendor/php-di/php-di/src/Attribute
mkdir
upload
Name
Size
Mode
Actions
Inject.php
1729
0644
edit
dl
rm
Injectable.php
556
0644
edit
dl
rm
Edit:
/opt/cpanel/ea-wappspector/vendor/php-di/php-di/src/Attribute/Injectable.php
(556B)
<?php declare(strict_types=1); namespace DI\Attribute; use Attribute; /** * "Injectable" attribute. * * Marks a class as injectable * * @api * * @author Domenic Muskulus <domenic@muskulus.eu> * @author Matthieu Napoli <matthieu@mnapoli.fr> */ #[Attribute(Attribute::TARGET_CLASS)] class Injectable { /** * @param bool|null $lazy Should the object be lazy-loaded. */ public function __construct( private ?bool $lazy = null, ) { } public function isLazy() : ?bool { return $this->lazy; } }
Save
cmd:
run