/plugin/findologicxmlexport/vendor/jms/serializer/doc/reference/ |
H A D | annotations.rst | 94 set the value via reflection, but you may change this to use a public method instead: 119 This annotation can be defined on a property to specify which public method should 208 This annotation can be defined on a method to indicate that the data returned by 209 the method should appear like a property of the object. 211 A virtual property can be defined for a method of an object to serialize and can be 257 - ``lastName`` is exposed using the ``getLastName`` getter method. 262 (for sorting proposes as example). When not specified, it defaults to the method name with the "get… 284 This annotation can be defined on a method which is supposed to be called before 289 This annotation can be defined on a method which is then called directly after the 294 This annotation can be defined on a method which is supposed to be called after
|
H A D | xml_reference.rst | 50 <callback-method name="foo" type="pre-serialize" /> 51 <callback-method name="bar" type="post-serialize" /> 52 <callback-method name="baz" type="post-deserialize" /> 54 <virtual-property method="public_method"
|
/plugin/findologicxmlexport/vendor/jms/serializer/src/EventDispatcher/ |
H A D | EventDispatcher.php | 63 $method = $eventData['method'] ?? self::getDefaultMethodName($eventData['event']); 67 … $this->listeners[$eventData['event']][] = [[$subscriber, $method], $class, $format, $interface];
|
/plugin/findologicxmlexport/vendor/jms/serializer/src/GraphNavigator/ |
H A D | DeserializationGraphNavigator.php | 237 foreach ($metadata->postDeserializeMethods as $method) { 238 $method->invoke($object);
|
H A D | SerializationGraphNavigator.php | 213 foreach ($metadata->preSerializeMethods as $method) { 214 $method->invoke($data); 249 foreach ($metadata->postSerializeMethods as $method) { 250 $method->invoke($object);
|
/plugin/findologicxmlexport/vendor/jms/serializer/src/Handler/ |
H A D | ConstraintViolationHandler.php | 25 foreach ($types as $type => $method) { 31 'method' => $method . 'To' . $format,
|
H A D | HandlerRegistry.php | 54 …$method = $methodData['method'] ?? self::getDefaultMethod($direction, $methodData['type'], $method… 55 …this->registerHandler($direction, $methodData['type'], $methodData['format'], [$handler, $method]);
|
/plugin/findologicxmlexport/vendor/jms/serializer/src/Metadata/ |
H A D | ClassMetadata.php | 186 public function addPreSerializeMethod(MethodMetadata $method): void argument 188 $this->preSerializeMethods[] = $method; 191 public function addPostSerializeMethod(MethodMetadata $method): void argument 193 $this->postSerializeMethods[] = $method; 196 public function addPostDeserializeMethod(MethodMetadata $method): void argument 198 $this->postDeserializeMethods[] = $method;
|
/plugin/findologicxmlexport/vendor/jms/serializer/src/Metadata/Driver/ |
H A D | AnnotationDriver.php | 130 foreach ($class->getMethods() as $method) { 131 if ($method->class !== $name) { 135 $methodAnnotations = $this->reader->getMethodAnnotations($method); 139 $classMetadata->addPreSerializeMethod(new MethodMetadata($name, $method->name)); 142 … $classMetadata->addPostDeserializeMethod(new MethodMetadata($name, $method->name)); 145 … $classMetadata->addPostSerializeMethod(new MethodMetadata($name, $method->name)); 148 $virtualPropertyMetadata = new VirtualPropertyMetadata($name, $method->name);
|
H A D | XmlDriver.php | 138 foreach ($elem->xpath('./virtual-property') as $method) { 139 if (isset($method->attributes()->expression)) { 142 (string) $method->attributes()->name, 146 if (!isset($method->attributes()->method)) { 149 …rtualPropertyMetadata = new VirtualPropertyMetadata($name, (string) $method->attributes()->method); 153 $propertiesNodes[] = $method; 340 foreach ($elem->xpath('./callback-method') as $method) { 341 if (!isset($method->attributes()->type)) { 344 if (!isset($method->attributes()->name)) { 348 switch ((string) $method->attributes()->type) { [all …]
|
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Exclusion/ |
H A D | DisjunctExclusionStrategyTest.php | 26 ->method('shouldSkipClass') 31 ->method('shouldSkipClass'); 47 ->method('shouldSkipClass') 52 ->method('shouldSkipClass') 70 ->method('shouldSkipClass') 75 ->method('shouldSkipClass') 93 ->method('shouldSkipProperty') 114 ->method('shouldSkipProperty') 119 ->method('shouldSkipProperty') 137 ->method('shouldSkipProperty') [all …]
|
H A D | ExpressionLanguageExclusionStrategyTest.php | 28 $this->context->method('getObject')->willReturn($this->visitedObject); 43 ->method('evaluate') 58 $this->expressionEvaluator->expects($this->never())->method('evaluate');
|
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Handler/ |
H A D | ArrayCollectionHandlerTest.php | 26 $visitor->method('visitArray')->with(['foo'])->willReturn(['foo']); 44 $visitor->method('visitArray')->with([])->willReturn([]); 49 …$factoryMock->method('getMetadataForClass')->willReturn(new ClassMetadata(ArrayCollection::class)); 51 $context->method('getExclusionStrategy')->willReturn(new AlwaysExcludeExclusionStrategy()); 52 $context->method('getMetadataFactory')->willReturn($factoryMock);
|
H A D | DateHandlerTest.php | 50 $visitor->method('visitString')->with('2017-06-18');
|
H A D | FormErrorHandlerTest.php | 153 ->method('trans') 163 $formError->expects($this->once())->method('getMessageParameters')->willReturn([]); 176 ->method('transChoice') 187 $formError->expects($this->once())->method('getMessageParameters')->willReturn([]); 200 ->method('trans') 210 $formError->expects($this->once())->method('getMessageParameters')->willReturn([]); 223 ->method('transChoice') 262 ->method('getName') 265 ->method('getConfig') 276 protected function invokeMethod($object, $method, array $args = []) argument [all …]
|
H A D | IteratorHandlerTest.php | 86 $visitor->method('visitArray')->with(self::DATA)->willReturn(self::DATA); 93 $visitor->method('visitArray')->with(self::DATA)->willReturn(self::DATA);
|
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Metadata/Driver/ |
H A D | DoctrineDriverTest.php | 151 ->method('getManagerForClass')
|
H A D | DoctrinePHPCRDriverTest.php | 108 ->method('getManagerForClass')
|
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/ |
H A D | ContextTest.php | 33 ->method('shouldSkipClass') 59 ->method('shouldSkipProperty') 98 ->method('shouldSkipClass') 116 ->method('shouldSkipProperty')
|
H A D | GraphNavigatorTest.php | 60 ->method('shouldSkipClass') 67 ->method('shouldSkipProperty') 75 ->method('getExclusionStrategy') 93 ->method('shouldSkipClass') 99 ->method('shouldSkipProperty') 105 ->method('getExclusionStrategy')
|
H A D | SerializationContextFactoryTest.php | 51 ->method('createSerializationContext') 70 ->method('createDeserializationContext') 90 ->method('createSerializationContext') 109 ->method('createDeserializationContext')
|
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/Doctrine/ |
H A D | ObjectConstructorTest.php | 108 $fallback->expects($this->once())->method('construct')->willReturn($author); 123 $fallback->expects($this->once())->method('construct')->willReturn($author); 184 $fallback->expects($this->once())->method('construct')->willReturn($author);
|
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/EventDispatcher/ |
H A D | EventDispatcherTest.php | 225 public function __call($method, array $args = []) argument 228 $this->expected[] = [$method, $args]; 233 $this->actual[] = [$method, $args];
|
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/EventDispatcher/Subscriber/ |
H A D | DoctrineProxySubscriberTest.php | 51 … $this->context->method('getExclusionStrategy')->willReturn(new AlwaysExcludeExclusionStrategy()); 52 …$this->context->method('getMetadataFactory')->willReturn(new class implements MetadataFactoryInter… 83 … $factoryMock->method('getMetadataForClass')->willReturn(new ClassMetadata(SimpleObject::class)); 85 … $this->context->method('getExclusionStrategy')->willReturn(new AlwaysExcludeExclusionStrategy()); 86 $this->context->method('getMetadataFactory')->willReturn($factoryMock);
|
H A D | SymfonyValidatorValidatorSubscriberTest.php | 29 ->method('validate') 47 ->method('validate') 59 ->method('validate'); 67 ->method('validate')
|