1 | <?php |
||
6 | class ContainerFactory extends ContainerDecorator implements Factory |
||
7 | { |
||
8 | |||
9 | /** |
||
10 | * @var mixed [id => value] May be simple types or closures |
||
11 | */ |
||
12 | protected $factory_stack = []; |
||
13 | |||
14 | public function register(string $id, Closure $closure): void |
||
18 | |||
19 | public function set(string $id, $value): void |
||
23 | |||
24 | public function addProvider(FactoryProvider $provider): void |
||
28 | |||
29 | public function createContainer(): Container |
||
36 | } |
||
37 |
This check looks for access to properties that are not accessible from the current context.
If you need to make a property accessible to another context you can either raise its visibility level or provide an accessible getter in the defining class.