PluginProbe
The Innovative Form Builder – IvyForms / 0.2.1
The Innovative Form Builder – IvyForms v0.2.1
1.5.1 1.5 1.4.1 1.4 trunk 0.1.2 0.2 0.2.1 0.3 0.3.1 0.4 0.5 0.6 0.6.1 0.6.1-backup 0.6.1.1 0.7 0.8 0.8.1 0.8.2 0.9 0.9.1 1.0 1.1 1.1.1 All 27 releases
ivyforms / backend / vendor / php-di / php-di / src / Definition / SelfResolvingDefinition.php

SelfResolvingDefinition.php in The Innovative Form Builder – IvyForms 0.2.1, at backend/vendor/php-di/php-di/src/Definition/SelfResolvingDefinition.php

28 lines 548 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 declare(strict_types=1);
4
5 namespace DI\Definition;
6
7 use Psr\Container\ContainerInterface;
8
9 /**
10 * Describes a definition that can resolve itself.
11 *
12 * @author Matthieu Napoli <[email protected]>
13 */
14 interface SelfResolvingDefinition
15 {
16 /**
17 * Resolve the definition and return the resulting value.
18 *
19 * @return mixed
20 */
21 public function resolve(ContainerInterface $container);
22
23 /**
24 * Check if a definition can be resolved.
25 */
26 public function isResolvable(ContainerInterface $container) : bool;
27 }
28