\Pho\FrameworkInjectableInterface

Injectable is a key extensibility comnponent of the Pho Framework.

This is defined in pho-framework, and not pho-lib-graph, because it is not necessarily a core use-case of general purpose graphs.

Summary

Methods
Constants
inject()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

inject()

inject(string  $key, mixed  $value) : void

Injects a value to the subject

Parameters

string $key

The key to call the injectable

mixed $value

The injectable itself.

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275