PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.7.0
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.7.0
4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 3.5.2 All 199 releases
betterdocs / includes / Dependencies / DI / Definition / Definition.php

Definition.php in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 4.7.0, at includes/Dependencies/DI/Definition/Definition.php

38 lines 919 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 WPDeveloper\BetterDocs\Dependencies\DI\Definition;
6
7 use WPDeveloper\BetterDocs\Dependencies\DI\Factory\RequestedEntry;
8
9 /**
10 * Definition.
11 *
12 * @internal This interface is internal to PHP-WPDeveloper\BetterDocs\Dependencies\DI and may change between minor versions.
13 *
14 * @author Matthieu Napoli <matthieu@mnapoli.fr>
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