Home
last modified time | relevance | path

Searched refs:method (Results 451 – 475 of 972) sorted by path

1...<<11121314151617181920>>...39

/plugin/findologicxmlexport/vendor/jms/serializer/doc/reference/
H A Dannotations.rst94 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 Dxml_reference.rst50 <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 DEventDispatcher.php63 $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 DDeserializationGraphNavigator.php237 foreach ($metadata->postDeserializeMethods as $method) {
238 $method->invoke($object);
H A DSerializationGraphNavigator.php213 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 DConstraintViolationHandler.php25 foreach ($types as $type => $method) {
31 'method' => $method . 'To' . $format,
H A DHandlerRegistry.php54 …$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 DClassMetadata.php186 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 DAnnotationDriver.php130 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 DXmlDriver.php138 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 DDisjunctExclusionStrategyTest.php26 ->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 DExpressionLanguageExclusionStrategyTest.php28 $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 DArrayCollectionHandlerTest.php26 $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 DDateHandlerTest.php50 $visitor->method('visitString')->with('2017-06-18');
H A DFormErrorHandlerTest.php153 ->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 DIteratorHandlerTest.php86 $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 DDoctrineDriverTest.php151 ->method('getManagerForClass')
H A DDoctrinePHPCRDriverTest.php108 ->method('getManagerForClass')
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/
H A DContextTest.php33 ->method('shouldSkipClass')
59 ->method('shouldSkipProperty')
98 ->method('shouldSkipClass')
116 ->method('shouldSkipProperty')
H A DGraphNavigatorTest.php60 ->method('shouldSkipClass')
67 ->method('shouldSkipProperty')
75 ->method('getExclusionStrategy')
93 ->method('shouldSkipClass')
99 ->method('shouldSkipProperty')
105 ->method('getExclusionStrategy')
H A DSerializationContextFactoryTest.php51 ->method('createSerializationContext')
70 ->method('createDeserializationContext')
90 ->method('createSerializationContext')
109 ->method('createDeserializationContext')
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/Doctrine/
H A DObjectConstructorTest.php108 $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 DEventDispatcherTest.php225 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 DDoctrineProxySubscriberTest.php51 … $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 DSymfonyValidatorValidatorSubscriberTest.php29 ->method('validate')
47 ->method('validate')
59 ->method('validate');
67 ->method('validate')

1...<<11121314151617181920>>...39