1 | <?php |
||
11 | class DynamicRelationSubscriber implements EventSubscriber |
||
12 | { |
||
13 | const MODEL_PROJECT = 'Developtech\AgilityBundle\Entity\Project'; |
||
14 | const MODEL_FEATURE = 'Developtech\AgilityBundle\Entity\Feature'; |
||
15 | const MODEL_FEEDBACK = 'Developtech\AgilityBundle\Entity\Feedback'; |
||
16 | |||
17 | /** @var string **/ |
||
18 | protected $userClass; |
||
19 | |||
20 | /** |
||
21 | * @param string $userClass |
||
22 | */ |
||
23 | public function __construct($userClass) { |
||
26 | |||
27 | /** |
||
28 | * {@inheritDoc} |
||
29 | */ |
||
30 | public function getSubscribedEvents() |
||
36 | |||
37 | /** |
||
38 | * @param LoadClassMetadataEventArgs $eventArgs |
||
39 | */ |
||
40 | public function loadClassMetadata(LoadClassMetadataEventArgs $eventArgs) |
||
58 | |||
59 | /** |
||
60 | * @param CLassMetadata $metadata |
||
61 | * @param UnderscoreNamingStrategy $namingStrategy |
||
62 | */ |
||
63 | public function mapProject(ClassMetadata $metadata, UnderscoreNamingStrategy $namingStrategy) { |
||
73 | |||
74 | /** |
||
75 | * @param CLassMetadata $metadata |
||
76 | * @param UnderscoreNamingStrategy $namingStrategy |
||
77 | */ |
||
78 | public function mapFeature(ClassMetadata $metadata, UnderscoreNamingStrategy $namingStrategy) { |
||
88 | |||
89 | /** |
||
90 | * @param CLassMetadata $metadata |
||
91 | * @param UnderscoreNamingStrategy $namingStrategy |
||
92 | */ |
||
93 | public function mapFeedback(ClassMetadata $metadata, UnderscoreNamingStrategy $namingStrategy) { |
||
111 | } |
||
112 |
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.