@@ 128-134 (lines=7) @@ | ||
125 | $metadata->tags['form.type'][] = array( |
|
126 | 'alias' => $alias, |
|
127 | ); |
|
128 | } else if ($annot instanceof MetadataProcessorInterface) { |
|
129 | if (null === $metadata->id) { |
|
130 | $metadata->id = $this->namingStrategy->classToServiceName($className); |
|
131 | } |
|
132 | ||
133 | $annot->processMetadata($metadata); |
|
134 | } |
|
135 | } |
|
136 | ||
137 | $hasInjection = false; |
|
@@ 213-219 (lines=7) @@ | ||
210 | ||
211 | $metadata->initMethod = $method->name; |
|
212 | $metadata->initMethods[] = $method->name; |
|
213 | } else if ($annot instanceof MetadataProcessorInterface) { |
|
214 | if (null === $metadata->id) { |
|
215 | $metadata->id = $this->namingStrategy->classToServiceName($className); |
|
216 | } |
|
217 | ||
218 | $annot->processMetadata($metadata); |
|
219 | } |
|
220 | } |
|
221 | } |
|
222 |