Submit
Path:
~
/
/
proc
/
self
/
root
/
opt
/
psa
/
admin
/
plib
/
modules
/
grafana
/
vendor
/
php-di
/
php-di
/
src
/
Attribute
/
File Content:
Injectable.php
<?php declare (strict_types=1); namespace PleskGrafana\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; } }
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
Inject.php
1683 bytes
0644
Injectable.php
557 bytes
0644
N4ST4R_ID | Naxtarrr