1 | <?php |
||
10 | class DynamicRelationSubscriber implements EventSubscriber |
||
11 | { |
||
12 | const MODEL_PROJECT = 'Developtech\AgilityBundle\Entity\Project'; |
||
13 | const MODEL_FEATURE = 'Developtech\AgilityBundle\Entity\Feature'; |
||
14 | const MODEL_FEEDBACK = 'Developtech\AgilityBundle\Entity\Feedback'; |
||
15 | const MODEL_BETA_TESTER = 'Developtech\AgilityBundle\Entity\BetaTester'; |
||
16 | |||
17 | /** @var string **/ |
||
18 | protected $userClass; |
||
19 | |||
20 | /** |
||
21 | * @param string $userClass |
||
22 | */ |
||
23 | 1 | public function __construct($userClass) { |
|
26 | |||
27 | /** |
||
28 | * {@inheritDoc} |
||
29 | */ |
||
30 | 1 | public function getSubscribedEvents() |
|
36 | |||
37 | /** |
||
38 | * @param LoadClassMetadataEventArgs $eventArgs |
||
39 | */ |
||
40 | public function loadClassMetadata(LoadClassMetadataEventArgs $eventArgs) |
||
53 | |||
54 | /** |
||
55 | * @param CLassMetadata $metadata |
||
56 | */ |
||
57 | 1 | public function mapProject(ClassMetadata $metadata) { |
|
70 | |||
71 | /** |
||
72 | * @param CLassMetadata $metadata |
||
73 | */ |
||
74 | 1 | public function mapFeature(ClassMetadata $metadata) { |
|
87 | |||
88 | /** |
||
89 | * @param CLassMetadata $metadata |
||
90 | */ |
||
91 | 1 | public function mapFeedback(ClassMetadata $metadata) { |
|
115 | |||
116 | /** |
||
117 | * @param CLassMetadata $metadata |
||
118 | */ |
||
119 | 1 | public function mapBetaTester(ClassMetadata $metadata) { |
|
132 | } |
||
133 |
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.