Root Zanli
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
cpanel
/
ea-wappspector
/
vendor
/
php-di
/
php-di
/
src
/
Definition
/
Filename :
SelfResolvingDefinition.php
back
Copy
<?php declare(strict_types=1); namespace DI\Definition; use Psr\Container\ContainerInterface; /** * Describes a definition that can resolve itself. * * @author Matthieu Napoli <matthieu@mnapoli.fr> */ interface SelfResolvingDefinition { /** * Resolve the definition and return the resulting value. */ public function resolve(ContainerInterface $container) : mixed; /** * Check if a definition can be resolved. */ public function isResolvable(ContainerInterface $container) : bool; }