Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
elementor
/
vendor_prefixed
/
dependency-injection
/
php-di
/
php-di
/
src
/
Definition
:
SelfResolvingDefinition.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php declare (strict_types=1); namespace ElementorDeps\DI\Definition; use ElementorDeps\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. * * @return mixed */ public function resolve(ContainerInterface $container); /** * Check if a definition can be resolved. */ public function isResolvable(ContainerInterface $container) : bool; }