PluginProbe
Auto Alt Text / 2.6.0
Auto Alt Text v2.6.0
3.0.3 2.8.2 1.3.1 1.3.2 2.0.0 2.1.0 2.1.1 2.2.0 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.4.0 2.4.1 2.4.2 2.5.0 2.5.1 2.5.2 2.5.3 2.6.0 2.6.1 2.7.0 2.8.0 2.8.1 All 28 releases
auto-alt-text / vendor / php-di / php-di / src / Definition / SelfResolvingDefinition.php

SelfResolvingDefinition.php in Auto Alt Text 2.6.0, at 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 <matthieu@mnapoli.fr>
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