/plugin/findologicxmlexport/vendor/jms/serializer/src/Metadata/Driver/ |
H A D | AnnotationDriver.php | 169 $propertyMetadata->readOnly = $propertyMetadata->readOnly || $readOnlyClass; 183 $propertyMetadata->skipWhenEmpty = true; 198 $propertyMetadata->xmlAttribute = false; 216 $propertyMetadata->xmlAttribute = true; 219 $propertyMetadata->xmlValue = true; 236 $propertyMetadata->class . '->' . $propertyMetadata->name 241 $propertyMetadata->inline = true; 249 if ($propertyMetadata->inline) { 258 if (!$propertyMetadata->serializedName) { 259 … $propertyMetadata->serializedName = $this->namingStrategy->translateName($propertyMetadata); [all …]
|
H A D | AbstractDoctrineTypeDriver.php | 89 foreach ($classMetadata->propertyMetadata as $key => $propertyMetadata) { 93 if ($propertyMetadata->type || $this->isVirtualProperty($propertyMetadata)) { 97 if ($this->hideProperty($doctrineMetadata, $propertyMetadata)) { 98 unset($classMetadata->propertyMetadata[$key]); 101 $this->setPropertyType($doctrineMetadata, $propertyMetadata); 107 private function isVirtualProperty(PropertyMetadata $propertyMetadata): bool argument 109 return $propertyMetadata instanceof VirtualPropertyMetadata 110 || $propertyMetadata instanceof StaticPropertyMetadata 111 || $propertyMetadata instanceof ExpressionPropertyMetadata; 118 …ion hideProperty(DoctrineClassMetadata $doctrineMetadata, PropertyMetadata $propertyMetadata): bool argument [all …]
|
H A D | DoctrinePHPCRTypeDriver.php | 16 …ion hideProperty(DoctrineClassMetadata $doctrineMetadata, PropertyMetadata $propertyMetadata): bool argument 18 return 'lazyPropertiesDefaults' === $propertyMetadata->name 19 || $doctrineMetadata->parentMapping === $propertyMetadata->name 20 || $doctrineMetadata->node === $propertyMetadata->name; 23 … setPropertyType(DoctrineClassMetadata $doctrineMetadata, PropertyMetadata $propertyMetadata): void argument 25 $propertyName = $propertyMetadata->name; 34 $propertyMetadata->setType($this->typeParser->parse($fieldType)); 50 $propertyMetadata->setType($this->typeParser->parse($targetEntity));
|
H A D | DoctrineTypeDriver.php | 29 … setPropertyType(DoctrineClassMetadata $doctrineMetadata, PropertyMetadata $propertyMetadata): void argument 31 $propertyName = $propertyMetadata->name; 35 $propertyMetadata->setType($this->typeParser->parse($fieldType)); 54 $propertyMetadata->setType($this->typeParser->parse($targetEntity));
|
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Metadata/Driver/ |
H A D | YamlDriverTest.php | 17 self::assertEquals(['age', 'name'], array_keys($m->propertyMetadata)); 24 self::assertArrayHasKey('name', $m->propertyMetadata); 25 self::assertArrayNotHasKey('age', $m->propertyMetadata); 32 self::assertArrayHasKey('title', $m->propertyMetadata); 36 self::assertArrayNotHasKey($key, $m->propertyMetadata); 44 self::assertArrayNotHasKey('title', $m->propertyMetadata); 48 self::assertArrayHasKey($key, $m->propertyMetadata); 59 self::assertEquals($p, $m->propertyMetadata['title']); 66 self::assertArrayHasKey('title', $m->propertyMetadata); 72 self::assertEquals($p, $m->propertyMetadata['title']);
|
H A D | XmlDriverTest.php | 31 self::assertArrayHasKey('title', $m->propertyMetadata); 35 self::assertArrayNotHasKey($key, $m->propertyMetadata); 43 self::assertArrayNotHasKey('title', $m->propertyMetadata); 47 self::assertArrayHasKey($key, $m->propertyMetadata); 58 self::assertEquals($p, $m->propertyMetadata['title']); 71 self::assertEquals($p, $m->propertyMetadata['name']); 78 self::assertArrayHasKey('amount', $first->propertyMetadata); 79 …self::assertArraySubset(['first.test.group', 'second.test.group'], $first->propertyMetadata['curre… 86 self::assertArrayHasKey('amount', $first->propertyMetadata); 87 …self::assertArraySubset(['first.test.group', 'second.test.group'], $first->propertyMetadata['curre…
|
H A D | DoctrineDriverTest.php | 38 $metadata->propertyMetadata['createdAt']->type 47 $metadata->propertyMetadata['author']->type 62 $metadata->propertyMetadata['comments']->type 73 $metadata->propertyMetadata['published']->type 80 self::assertNull($metadata->propertyMetadata['slug']->type); 105 self::assertArrayHasKey('id', $first->propertyMetadata); 106 self::assertArrayNotHasKey('iShallNotBeAccessed', $first->propertyMetadata); 112 self::assertNull($doctrineMetadata->propertyMetadata['ref']->type); 121 $metadata->propertyMetadata['id']->type
|
H A D | BaseDriverTest.php | 57 self::assertEquals($p, $m->propertyMetadata['id']); 86 self::assertEquals($p, $m->propertyMetadata['etag']); 389 self::assertEquals($p, $m->propertyMetadata['title']); 445 self::assertCount(3, $m->propertyMetadata); 458 self::assertEquals($p, $m->propertyMetadata['bar']); 554 self::assertEquals($p, $m->propertyMetadata['name']); 566 self::assertEquals($p, $m->propertyMetadata['age']); 576 self::assertEquals($p, $m->propertyMetadata['id']); 580 self::assertEquals($p, $m->propertyMetadata['name']); 586 self::assertEquals($p, $m->propertyMetadata['foo']); [all …]
|
H A D | DoctrinePHPCRDriverTest.php | 29 $metadata->propertyMetadata['createdAt']->type 38 $metadata->propertyMetadata['author']->type 53 $metadata->propertyMetadata['comments']->type 64 $metadata->propertyMetadata['published']->type
|
H A D | NullDriverTest.php | 20 self::assertCount(0, $metadata->propertyMetadata);
|
/plugin/findologicxmlexport/vendor/jms/metadata/tests/ |
H A D | MergeableClassMetadataTest.php | 15 $parentMetadata->propertyMetadata['foo'] = 'bar'; 16 $parentMetadata->propertyMetadata['baz'] = 'baz'; 22 $childMetadata->propertyMetadata['foo'] = 'baz'; 29 $this->assertEquals(['foo' => 'baz', 'baz' => 'baz'], $parentMetadata->propertyMetadata);
|
H A D | MetadataFactoryTest.php | 83 … $metadata->propertyMetadata['foo'] = new PropertyMetadata($class->name, 'foo'); 87 … $metadata->propertyMetadata['bar'] = new PropertyMetadata($class->name, 'bar'); 91 … $metadata->propertyMetadata['baz'] = new PropertyMetadata($class->name, 'baz'); 106 $this->assertEquals(['foo', 'bar'], array_keys($subClassA->propertyMetadata)); 110 $this->assertEquals(['foo', 'baz'], array_keys($subClassB->propertyMetadata));
|
/plugin/findologicxmlexport/vendor/jms/metadata/src/ |
H A D | ClassMetadata.php | 30 public $propertyMetadata = []; variable in Metadata\\ClassMetadata 55 $this->propertyMetadata[$metadata->name] = $metadata; 89 $this->propertyMetadata, 108 $this->propertyMetadata,
|
H A D | MergeableClassMetadata.php | 17 $this->propertyMetadata = array_merge($this->propertyMetadata, $object->propertyMetadata);
|
/plugin/findologicxmlexport/vendor/jms/serializer/src/GraphNavigator/ |
H A D | DeserializationGraphNavigator.php | 184 foreach ($metadata->propertyMetadata as $propertyMetadata) { 185 …>exclusionStrategy && $this->exclusionStrategy->shouldSkipProperty($propertyMetadata, $this->conte… 189 …Strategy && $this->expressionExclusionStrategy->shouldSkipProperty($propertyMetadata, $this->conte… 193 if ($propertyMetadata->readOnly) { 197 $this->context->pushPropertyMetadata($propertyMetadata); 199 $v = $this->visitor->visitProperty($propertyMetadata, $data); 200 $this->accessor->setValue($object, $v, $propertyMetadata, $this->context);
|
H A D | SerializationGraphNavigator.php | 218 foreach ($metadata->propertyMetadata as $propertyMetadata) { 219 …>exclusionStrategy && $this->exclusionStrategy->shouldSkipProperty($propertyMetadata, $this->conte… 223 …Strategy && $this->expressionExclusionStrategy->shouldSkipProperty($propertyMetadata, $this->conte… 227 $v = $this->accessor->getValue($data, $propertyMetadata, $this->context); 233 $this->context->pushPropertyMetadata($propertyMetadata); 234 $this->visitor->visitProperty($propertyMetadata, $v);
|
/plugin/findologicxmlexport/vendor/jms/serializer/src/Metadata/ |
H A D | ClassMetadata.php | 383 if (isset($this->propertyMetadata[$this->discriminatorFieldName]) 384 … && !$this->propertyMetadata[$this->discriminatorFieldName] instanceof StaticPropertyMetadata 404 $this->propertyMetadata[$this->discriminatorFieldName] = $discriminatorProperty; 412 …$this->propertyMetadata = (new IdenticalPropertyOrderingStrategy())->order($this->propertyMetadata… 416 …$this->propertyMetadata = (new AlphabeticalPropertyOrderingStrategy())->order($this->propertyMetad… 420 …$this->propertyMetadata = (new CustomPropertyOrderingStrategy($this->customOrder))->order($this->p…
|
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Metadata/ |
H A D | ClassMetadataTest.php | 51 self::assertEquals(['b', 'a'], array_keys($metadata->propertyMetadata)); 54 self::assertEquals($expected, array_keys($metadata->propertyMetadata)); 62 self::assertEquals(['b', 'a'], array_keys($metadata->propertyMetadata)); 65 self::assertEquals(['a', 'b'], array_keys($metadata->propertyMetadata));
|
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/ |
H A D | GraphNavigatorTest.php | 68 …->will($this->returnCallback(static function ($propertyMetadata, $passedContext) use ($context, $m… 69 $self->assertSame($metadata->propertyMetadata['foo'], $propertyMetadata); 100 …->with($metadata->propertyMetadata['foo'], $this->callback(static function ($navigatorContext) use…
|
H A D | ContextTest.php | 117 …->will($this->returnCallback(static function (PropertyMetadata $propertyMetadata, SerializationCon… 120 …if ('JMS\Serializer\Tests\Fixtures\Node' === $propertyMetadata->class && 'children' === $propertyM… 125 if ('JMS\Serializer\Tests\Fixtures\InlineChild' === $propertyMetadata->class) {
|
/plugin/findologicxmlexport/vendor/jms/serializer/src/Construction/ |
H A D | DoctrineObjectConstructor.php | 80 if (isset($metadata->propertyMetadata[$name])) { 81 $dataName = $metadata->propertyMetadata[$name]->serializedName;
|
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Fixtures/ |
H A D | PersonSecretWithVariables.php | 24 public function test(PropertyMetadata $propertyMetadata, Context $context) argument
|