Home
last modified time | relevance | path

Searched refs:classMetadata (Results 1 – 11 of 11) sorted by relevance

/plugin/findologicxmlexport/vendor/jms/metadata/src/
H A DMetadataFactory.php79 $this->addClassMetadata($metadata, $classMetadata);
87 $this->loadedClassMetadata[$name] = $classMetadata;
91 if (null !== $classMetadata) {
92 if (!$classMetadata instanceof ClassMetadata) {
96 if ($this->debug && !$classMetadata->isFresh()) {
97 $this->cache->evict($classMetadata->name);
99 $this->loadedClassMetadata[$name] = $classMetadata;
100 $this->addClassMetadata($metadata, $classMetadata);
108 $this->loadedClassMetadata[$name] = $classMetadata;
109 $this->addClassMetadata($metadata, $classMetadata);
[all …]
H A DClassHierarchyMetadata.php17 public $classMetadata = []; variable in Metadata\\ClassHierarchyMetadata
21 $this->classMetadata[$metadata->name] = $metadata;
26 return reset($this->classMetadata);
31 return end($this->classMetadata);
36 foreach ($this->classMetadata as $metadata) {
/plugin/findologicxmlexport/vendor/jms/serializer/src/Metadata/Driver/
H A DAnnotationDriver.php79 $classMetadata = new ClassMetadata($name = $class->name);
82 $classMetadata->fileResources[] = $fileResource;
96 $classMetadata->xmlRootName = $annot->name;
97 $classMetadata->xmlRootNamespace = $annot->namespace;
98 $classMetadata->xmlRootPrefix = $annot->prefix;
111 $classMetadata->discriminatorDisabled = true;
117 $classMetadata->xmlDiscriminatorCData = (bool) $annot->cdata;
250 …$classMetadata->isList = $classMetadata->isList || PropertyMetadata::isCollectionList($propertyMet…
251 …$classMetadata->isMap = $classMetadata->isMap || PropertyMetadata::isCollectionMap($propertyMetada…
253 if ($classMetadata->isMap && $classMetadata->isList) {
[all …]
H A DAbstractDoctrineTypeDriver.php78 $classMetadata = $this->delegate->loadMetadataForClass($class);
82 return $classMetadata;
85 $this->setDiscriminator($doctrineMetadata, $classMetadata);
89 foreach ($classMetadata->propertyMetadata as $key => $propertyMetadata) {
98 unset($classMetadata->propertyMetadata[$key]);
104 return $classMetadata;
114 …ction setDiscriminator(DoctrineClassMetadata $doctrineMetadata, ClassMetadata $classMetadata): void argument
H A DDoctrineTypeDriver.php17 …ction setDiscriminator(DoctrineClassMetadata $doctrineMetadata, ClassMetadata $classMetadata): void argument
19 if (empty($classMetadata->discriminatorMap) && !$classMetadata->discriminatorDisabled
22 $classMetadata->setDiscriminator(
H A DNullDriver.php15 $classMetadata = new ClassMetadata($name = $class->name);
18 $classMetadata->fileResources[] = $fileResource;
21 return $classMetadata;
/plugin/findologicxmlexport/vendor/jms/serializer/src/Handler/
H A DStdClassHandler.php42 $classMetadata = $context->getMetadataFactory()->getMetadataForClass('stdClass');
43 $visitor->startVisitingObject($classMetadata, $stdClass, ['name' => 'stdClass'], $context);
50 … return $visitor->endVisitingObject($classMetadata, $stdClass, ['name' => 'stdClass'], $context);
/plugin/findologicxmlexport/vendor/jms/serializer/src/Construction/
H A DDoctrineObjectConstructor.php76 $classMetadata = $objectManager->getClassMetadata($metadata->name);
79 foreach ($classMetadata->getIdentifierFieldNames() as $name) {
/plugin/findologicxmlexport/vendor/jms/metadata/tests/
H A DMetadataFactoryTest.php40 $this->assertEquals(2, count($metadata->classMetadata));
140 …tadata, reset($factory->getMetadataForClass('Metadata\Tests\Fixtures\TestObject')->classMetadata));
/plugin/findologicxmlexport/vendor/jms/serializer/src/
H A DXmlDeserializationVisitor.php176 $classMetadata = $this->objectMetadataStack->top();
177 $namespace = $classMetadata->xmlNamespaces[''] ?? $namespace;
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/
H A DContextTest.php99 …->will($this->returnCallback(static function (ClassMetadata $classMetadata, SerializationContext $…