PluginProbe
The Innovative Form Builder – IvyForms / 0.2
The Innovative Form Builder – IvyForms v0.2
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 / Source / DefinitionSource.php

DefinitionSource.php in The Innovative Form Builder – IvyForms 0.2, at backend/vendor/php-di/php-di/src/Definition/Source/DefinitionSource.php

30 lines 638 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\Source;
6
7 use DI\Definition\Definition;
8 use DI\Definition\Exception\InvalidDefinition;
9
10 /**
11 * Source of definitions for entries of the container.
12 *
13 * @author Matthieu Napoli <[email protected]>
14 */
15 interface DefinitionSource
16 {
17 /**
18 * Returns the DI definition for the entry name.
19 *
20 * @throws InvalidDefinition An invalid definition was found.
21 * @return Definition|null
22 */
23 public function getDefinition(string $name);
24
25 /**
26 * @return Definition[] Definitions indexed by their name.
27 */
28 public function getDefinitions() : array;
29 }
30