PluginProbe
WPIDE – File Manager & Code Editor / 3.5.10
WPIDE – File Manager & Code Editor v3.5.10
3.5.10 3.5.9 3.5.8 3.5.7 2.0.14 2.0.15 2.0.16 2.0.2 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1 2.2 2.3 2.3.1 2.3.2 2.4.0 2.5 2.6 3.0 3.1 3.2 All 56 releases
wpide / vendor / php-di / php-di / src / Definition / Definition.php

Definition.php in WPIDE – File Manager & Code Editor 3.5.10, at vendor/php-di/php-di/src/Definition/Definition.php

38 lines 811 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 DI\Factory\RequestedEntry;
8
9 /**
10 * Definition.
11 *
12 * @internal This interface is internal to PHP-DI and may change between minor versions.
13 *
14 * @author Matthieu Napoli <[email protected]>
15 */
16 interface Definition extends RequestedEntry
17 {
18 /**
19 * Returns the name of the entry in the container.
20 */
21 public function getName() : string;
22
23 /**
24 * Set the name of the entry in the container.
25 */
26 public function setName(string $name);
27
28 /**
29 * Apply a callable that replaces the definitions nested in this definition.
30 */
31 public function replaceNestedDefinitions(callable $replacer);
32
33 /**
34 * Definitions can be cast to string for debugging information.
35 */
36 public function __toString();
37 }
38