| 1 | <?php |
||
| 11 | final class Instance implements DependencyInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var mixed |
||
| 15 | */ |
||
| 16 | public $value; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param mixed $value |
||
| 20 | */ |
||
| 21 | 80 | public function __construct($value) |
|
| 25 | |||
| 26 | 1 | public function __toString() |
|
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | 80 | public function register(array &$container, Bind $bind) |
|
| 51 | |||
| 52 | /** |
||
| 53 | * {@inheritdoc} |
||
| 54 | */ |
||
| 55 | 30 | public function inject(Container $container) |
|
| 61 | |||
| 62 | /** |
||
| 63 | * {@inheritdoc} |
||
| 64 | * |
||
| 65 | * @codeCoverageIgnore |
||
| 66 | */ |
||
| 67 | public function setScope($scope) |
||
| 70 | } |
||
| 71 |