1 | <?php |
||
21 | abstract class AbstractTransformer implements TransformerInterface |
||
22 | { |
||
23 | |||
24 | /** |
||
25 | * @var Scope |
||
26 | */ |
||
27 | protected $scope; |
||
28 | |||
29 | /** |
||
30 | * @param array $config |
||
31 | */ |
||
32 | public function __construct(array $config = []) |
||
36 | |||
37 | /** |
||
38 | * @return array |
||
39 | */ |
||
40 | public function getIncludes(): array |
||
44 | |||
45 | /** |
||
46 | * @param null $key |
||
47 | * @return \flipbox\transform\ParamBag|null |
||
48 | */ |
||
49 | protected function getParams($key = null) |
||
53 | |||
54 | /** |
||
55 | * @param mixed $data |
||
56 | * @param TransformerInterface|callable $transformer |
||
57 | * |
||
58 | * @return NestedItem |
||
59 | */ |
||
60 | protected function item($data, $transformer): NestedItem |
||
64 | |||
65 | /** |
||
66 | * @param mixed $data |
||
67 | * @param TransformerInterface|callable $transformer |
||
68 | * |
||
69 | * @return NestedCollection |
||
70 | */ |
||
71 | protected function collection($data, $transformer): NestedCollection |
||
75 | |||
76 | /** |
||
77 | * @inheritdoc |
||
78 | */ |
||
79 | public function __invoke($data, Scope $scope, string $identifier = null): array |
||
84 | |||
85 | } |
||
86 |
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.