@@ -115,6 +115,9 @@ discard block |
||
| 115 | 115 | return array_shift($identifier); |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | + /** |
|
| 119 | + * @param string $attribute |
|
| 120 | + */ |
|
| 118 | 121 | private function getObjectMetadata($object, $attribute) |
| 119 | 122 | { |
| 120 | 123 | $class = get_class($object); |
@@ -132,6 +135,9 @@ discard block |
||
| 132 | 135 | return $metadata; |
| 133 | 136 | } |
| 134 | 137 | |
| 138 | + /** |
|
| 139 | + * @param string $attribute |
|
| 140 | + */ |
|
| 135 | 141 | private function getAssocMetadata(ClassMetadataInterface $metadata, $attribute) |
| 136 | 142 | { |
| 137 | 143 | $assoc = $metadata->getAssociationTargetClass($attribute); |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | use ScayTrase\Api\Cruds\Controller\ReadController; |
| 10 | 10 | use ScayTrase\Api\Cruds\Controller\SearchController; |
| 11 | 11 | use ScayTrase\Api\Cruds\Controller\UpdateController; |
| 12 | -use ScayTrase\Api\Cruds\PropertyAccessProcessor; |
|
| 13 | 12 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
| 14 | 13 | use Symfony\Component\DependencyInjection\Definition; |
| 15 | 14 | use Symfony\Component\DependencyInjection\DefinitionDecorator; |