src/Entity/Annotation/Listener/Mapping/Clazz/StructureParameterAnnotationListener.php 1 location
|
@@ 32-36 (lines=5) @@
|
29 |
|
$mapping->setDefaultView($view); |
30 |
|
return; |
31 |
|
} |
32 |
|
foreach ($views as $name) { |
33 |
|
$view = ViewOperations::toMutable($mapping->getView($name) ?? new View()); |
34 |
|
$view->setParameter($annotation->getParameter(), $annotation->getValue()); |
35 |
|
$mapping->setView($name, $view); |
36 |
|
} |
37 |
|
} |
38 |
|
} |
39 |
|
|
src/Entity/Annotation/Listener/Mapping/Property/ParameterPropertyAnnotationListener.php 1 location
|
@@ 36-40 (lines=5) @@
|
33 |
|
$mapping->setDefaultView($view); |
34 |
|
return; |
35 |
|
} |
36 |
|
foreach ($views as $name) { |
37 |
|
$view = ViewOperations::toMutable($mapping->getView($name) ?? new View()); |
38 |
|
$view->setParameter($annotation->getParameter(), $annotation->getValue()); |
39 |
|
$mapping->setView($name, $view); |
40 |
|
} |
41 |
|
} |
42 |
|
} |
43 |
|
|
src/Entity/Annotation/Listener/Mapping/Property/TargetEntityAnnotationListener.php 1 location
|
@@ 54-58 (lines=5) @@
|
51 |
|
$mapping->setDefaultView($view); |
52 |
|
return; |
53 |
|
} |
54 |
|
foreach ($annotation->views as $name) { |
55 |
|
$view = ViewOperations::toMutable($mapping->getView($name) ?? new View()); |
56 |
|
$view->setTargetEntity($className); |
57 |
|
$mapping->setView($name, $view); |
58 |
|
} |
59 |
|
} |
60 |
|
} |
61 |
|
|
src/Entity/Annotation/Listener/Mapping/Property/TypePropertyAnnotationListener.php 1 location
|
@@ 34-38 (lines=5) @@
|
31 |
|
$mapping->setDefaultView($view); |
32 |
|
return; |
33 |
|
} |
34 |
|
foreach ($annotation->views as $name) { |
35 |
|
$view = ViewOperations::toMutable($mapping->getView($name) ?? new View()); |
36 |
|
$view->setType($annotation->getValue()); |
37 |
|
$mapping->setView($name, $view); |
38 |
|
} |
39 |
|
} |
40 |
|
} |
41 |
|
|
src/Entity/Annotation/Listener/Mapping/Property/ViewsAnnotationListener.php 1 location
|
@@ 36-41 (lines=6) @@
|
33 |
|
$mapping->setDefaultView($view); |
34 |
|
return; |
35 |
|
} |
36 |
|
foreach ($annotation->views as $name) { |
37 |
|
$view = ViewOperations::toMutable($mapping->getView($name) ?? new View()); |
38 |
|
$view->setChildViews($annotation->value); |
39 |
|
$view->setAppendChildViews($append); |
40 |
|
$mapping->setView($name, $view); |
41 |
|
} |
42 |
|
} |
43 |
|
} |
44 |
|
|