1 | <?php declare(strict_types=1); |
||
10 | class DefinitionAggregate implements DefinitionAggregateInterface |
||
11 | { |
||
12 | use ContainerAwareTrait; |
||
13 | |||
14 | /** |
||
15 | * @var \League\Container\Definition\DefinitionInterface[] |
||
16 | */ |
||
17 | protected $definitions = []; |
||
18 | |||
19 | /** |
||
20 | * {@inheritdoc} |
||
21 | */ |
||
22 | public function add(string $id, $definition, bool $shared = false): DefinitionInterface |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | public function factory($concrete): DefinitionInterface |
||
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | public function resolve(string $id) |
||
67 | |||
68 | /** |
||
69 | * {@inheritdoc} |
||
70 | */ |
||
71 | public function getIterator(): Generator |
||
79 | } |
||
80 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.