Home
last modified time | relevance | path

Searched refs:metadata (Results 1 – 25 of 570) sorted by relevance

12345678910>>...23

/plugin/findologicxmlexport/vendor/jms/serializer/src/Accessor/
H A DDefaultAccessorStrategy.php55 return $metadata->getValue(null);
71 if (null === $metadata->getter) {
74 $this->readAccessors[$metadata->class] = function ($o, $name) use ($metadata) {
91 return $this->readAccessors[$metadata->class]($object, $metadata->name);
94 return $object->{$metadata->getter}();
102 if (true === $metadata->readOnly) {
103 … throw new LogicException(sprintf('%s on %s is read only.', $metadata->name, $metadata->class));
106 if (null === $metadata->setter) {
109 … $this->writeAccessors[$metadata->class] = function ($o, $name, $value) use ($metadata): void {
126 $this->writeAccessors[$metadata->class]($object, $metadata->name, $value);
[all …]
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Metadata/
H A DAbstractPropertyMetadataTest.php13 $metadata->sinceVersion = '1';
14 $metadata->untilVersion = '2';
17 $metadata->type = 'array';
18 $metadata->xmlCollection = true;
24 $metadata->xmlAttribute = true;
25 $metadata->xmlValue = true;
29 $metadata->inline = true;
30 $metadata->skipWhenEmpty = true;
31 $metadata->xmlAttributeMap = true;
32 $metadata->maxDepth = 1;
[all …]
H A DClassMetadataTest.php48 $metadata = new ClassMetadata('JMS\Serializer\Tests\Metadata\PropertyMetadataOrder');
51 self::assertEquals(['b', 'a'], array_keys($metadata->propertyMetadata));
53 $metadata->setAccessorOrder(ClassMetadata::ACCESSOR_ORDER_CUSTOM, $order);
54 self::assertEquals($expected, array_keys($metadata->propertyMetadata));
62 self::assertEquals(['b', 'a'], array_keys($metadata->propertyMetadata));
64 $metadata->setAccessorOrder(ClassMetadata::ACCESSOR_ORDER_ALPHABETICAL);
65 self::assertEquals(['a', 'b'], array_keys($metadata->propertyMetadata));
75 $metadata = new PropertyMetadata(get_class($object), $property);
78 self::assertEquals($getterName, $metadata->getter);
79 self::assertEquals($setterName, $metadata->setter);
[all …]
/plugin/findologicxmlexport/vendor/jms/metadata/
H A DCHANGELOG.md3 ## [2.0.0](https://github.com/schmittjoh/metadata/tree/2.0.0) (2018-11-09)
7 ## [1.7.0](https://github.com/schmittjoh/metadata/tree/1.7.0) (2018-10-26)
25 - metadata name not present leads to exception [\#39](https://github.com/schmittjoh/metadata/issues…
32 - simplified class metadata [\#67](https://github.com/schmittjoh/metadata/pull/67) ([goetas](https…
36 ## [1.6.0](https://github.com/schmittjoh/metadata/tree/1.6.0) (2016-12-05)
50 ## [1.5.1](https://github.com/schmittjoh/metadata/tree/1.5.1) (2014-07-12)
58 ## [1.5.0](https://github.com/schmittjoh/metadata/tree/1.5.0) (2013-11-05)
61 - Branch alias [\#38](https://github.com/schmittjoh/metadata/issues/38)
66 - Cache when there is no metadata for a class [\#36](https://github.com/schmittjoh/metadata/pull/36…
84 - Ability to eager-load possible metadata [\#19](https://github.com/schmittjoh/metadata/issues/19)
[all …]
H A DREADME.md1 Metadata is a library for class/method/property metadata management in PHP
13 This library provides some commonly needed base classes for managing metadata
14 for classes, methods and properties. The metadata can come from many different
17 The metadata classes are used to abstract away that source and provide a common
29 from the different metadata sources.
31 Finally, you can use the ``MetadataFactory`` to retrieve the metadata::
43 $metadata = $factory->getMetadataForClass('MyNamespace\MyObject');
47 [Master]: https://travis-ci.org/schmittjoh/metadata
49 [Master coverage]: https://scrutinizer-ci.com/g/schmittjoh/metadata/?branch=master
52 [1.x]: https://github.com/schmittjoh/metadata/tree/1.x
[all …]
/plugin/findologicxmlexport/vendor/jms/serializer/src/
H A DXmlDeserializationVisitor.php243 …case $metadata->xmlDiscriminatorAttribute && null === $metadata->xmlDiscriminatorNamespace && isse…
247metadata->xmlDiscriminatorAttribute && null !== $metadata->xmlDiscriminatorNamespace && isset($dat…
251metadata->xmlDiscriminatorAttribute && null !== $metadata->xmlDiscriminatorNamespace && isset($dat…
261 $metadata->name
276 $name = $metadata->serializedName;
278 if (!$metadata->type) {
281 if (true === $metadata->inline) {
284 if ($metadata->xmlAttribute) {
293 if ($metadata->xmlValue) {
297 if ($metadata->xmlCollection) {
[all …]
H A DXmlSerializationVisitor.php107 if (null !== $metadata && !empty($metadata->xmlRootName)) {
110 … $rootNamespace = $metadata->xmlRootNamespace ?: $this->getClassDefaultNamespace($metadata);
227 $this->createRoot($metadata);
240 if ($metadata->xmlAttribute) {
260 if ($metadata->xmlValue) {
276 if ($metadata->xmlAttributeMap) {
296 if ($addEnclosingElement = !$this->isInLineCollection($metadata) && !$metadata->inline) {
298 ? $metadata->xmlNamespace
335 return $metadata->xmlCollection && $metadata->xmlCollectionInline;
340 return null === $node && !$metadata->xmlCollection && $metadata->skipWhenEmpty;
[all …]
H A DJsonDeserializationVisitor.php131 if (isset($data[$metadata->discriminatorFieldName])) {
137 $metadata->discriminatorFieldName,
138 $metadata->name
155 $name = $metadata->serializedName;
162 …Invalid data %s (%s), expected "%s".', json_encode($data), $metadata->type['name'], $metadata->cla…
165 if (true === $metadata->inline) {
166 if (!$metadata->type) {
169 $metadata->class,
170 $metadata->name
180 if (!$metadata->type) {
[all …]
/plugin/combo/ComboStrap/Meta/Store/
H A DMetadataDbStore.php30 * A tabular metadata should be created to get all {@link DatabasePageRow::getMetaRecord()}
43 * @var Metadata - the uid metadata
48 * @var mixed - the uid metadata value
90 public function set(Metadata $metadata) argument
92 if ($metadata instanceof MetadataTabular) {
94 $this->syncTabular($metadata);
98 throw new ExceptionRuntime("The metadata ($metadata) is not yet supported on set", self::CANONICAL);
102 public function get(Metadata $metadata, $default = null) argument
105 $resource = $metadata
132 syncTabular(MetadataTabular $metadata) global() argument
168 addRow(array $row, Metadata $metadata) global() argument
204 deleteRow(array $row, Metadata $metadata) global() argument
237 getDbTabularData(Metadata $metadata) global() argument
313 getTableName(Metadata $metadata) global() argument
[all...]
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Exclusion/
H A DDisjunctExclusionStrategyTest.php17 $metadata = new ClassMetadata('stdClass');
27 ->with($metadata, $context)
48 ->with($metadata, $context)
53 ->with($metadata, $context)
71 ->with($metadata, $context)
76 ->with($metadata, $context)
94 ->with($metadata, $context)
115 ->with($metadata, $context)
120 ->with($metadata, $context)
138 ->with($metadata, $context)
[all …]
/plugin/findologicxmlexport/vendor/jms/metadata/src/
H A DMetadataFactory.php75 $metadata = null;
123 if (null === $metadata) {
124 $metadata = new NullMetadata($className);
150 if (null === $metadata) {
151 $metadata = clone $toAdd;
153 $metadata->merge($toAdd);
156 if (null === $metadata) {
157 $metadata = new $this->hierarchyMetadataClass();
160 $metadata->addClassMetadata($toAdd);
206 private function filterNullMetadata($metadata = null) argument
[all …]
/plugin/quickstats/GEOIP/vendor/maxmind-db/reader/src/MaxMind/Db/Reader/
H A DMetadata.php6 * This class provides the metadata for the MaxMind DB file.
67 public function __construct($metadata) argument
70 $metadata['binary_format_major_version'];
72 $metadata['binary_format_minor_version'];
73 $this->buildEpoch = $metadata['build_epoch'];
74 $this->databaseType = $metadata['database_type'];
75 $this->languages = $metadata['languages'];
76 $this->description = $metadata['description'];
77 $this->ipVersion = $metadata['ip_version'];
78 $this->nodeCount = $metadata['node_coun
[all...]
/plugin/authfacebook/lib/Authentication/
H A DAccessTokenMetadata.php43 protected $metadata = []; variable in Facebook\\Authentication\\AccessTokenMetadata
53 * @param array $metadata
57 public function __construct(array $metadata) argument
59 if (!isset($metadata['data'])) {
63 $this->metadata = $metadata['data'];
78 if (isset($this->metadata[$field])) {
79 return $this->metadata[$field];
112 if (!isset($this->metadata[$parentField])) {
120 return $this->metadata[$parentField][$field];
385 if (isset($this->metadata[$key]) && $this->metadata[$key] !== 0) {
[all …]
/plugin/findologicxmlexport/vendor/jms/serializer/src/GraphNavigator/
H A DDeserializationGraphNavigator.php169 … if (!empty($metadata->discriminatorMap) && $type['name'] === $metadata->discriminatorBaseClass) {
170 $metadata = $this->resolveMetadata($data, $metadata);
179 $this->context->pushClassMetadata($metadata);
183 $this->visitor->startVisitingObject($metadata, $object, $type);
184 foreach ($metadata->propertyMetadata as $propertyMetadata) {
206 $rs = $this->visitor->endVisitingObject($metadata, $data, $type);
207 $this->afterVisitingObject($metadata, $rs, $type);
220 if (!isset($metadata->discriminatorMap[$typeValue])) {
224 $metadata->name,
225 implode(', ', array_keys($metadata->discriminatorMap))
[all …]
/plugin/findologicxmlexport/vendor/jms/metadata/tests/
H A DMethodMetadataTest.php15 $metadata = new MethodMetadata('Metadata\Tests\Fixtures\TestObject', 'setFoo');
19 $this->assertEquals('Metadata\Tests\Fixtures\TestObject', $metadata->class);
20 $this->assertEquals('setFoo', $metadata->name);
21 $this->assertEquals($expectedReflector, $metadata->reflection);
26 $metadata = new MethodMetadata('Metadata\Tests\Fixtures\TestObject', 'setFoo');
28 $this->assertEquals($metadata, unserialize(serialize($metadata)));
34 $metadata = new MethodMetadata('Metadata\Tests\Fixtures\TestObject', 'setFoo');
37 $metadata->invoke($obj, ['foo']);
H A DClassMetadataTest.php14 $metadata = new ClassMetadata('Metadata\Tests\Fixtures\TestObject');
16 $this->assertEquals('Metadata\Tests\Fixtures\TestObject', $metadata->name);
21 $metadata = new ClassMetadata('Metadata\Tests\Fixtures\TestObject');
23 $this->assertEquals($metadata, unserialize(serialize($metadata)));
32 $metadata = new ClassMetadata($ref->name);
33 $metadata->fileResources[] = $ref->getFilename();
34 $this->assertTrue($metadata->isFresh());
39 $this->assertFalse($metadata->isFresh());
H A DPropertyMetadataTest.php14 $metadata = new PropertyMetadata('Metadata\Tests\Fixtures\TestObject', 'foo');
15 $this->assertEquals('Metadata\Tests\Fixtures\TestObject', $metadata->class);
16 $this->assertEquals('foo', $metadata->name);
21 $metadata = new PropertyMetadata('Metadata\Tests\Fixtures\TestObject', 'foo');
23 $this->assertEquals($metadata, unserialize(serialize($metadata)));
/plugin/combo/ComboStrap/Meta/Form/
H A DFormMetaField.php128 * @param Metadata $metadata
131 public static function createFromMetadata(Metadata $metadata): FormMetaField argument
133 $field = FormMetaField::create($metadata->getName(), $metadata->getDataType());
135 self::setCommonDataToFieldFromMetadata($field, $metadata);
137 $childrenMetadata = $metadata->getChildrenClass();
140 $metadata->getParent();
145 $field->setTab($metadata->getTab());
154 static::setLeafDataToFieldFromMetadata($field, $metadata);
159 if ($metadata
528 setCommonDataToFieldFromMetadata(FormMetaField $field, Metadata $metadata) global() argument
543 setLeafDataToFieldFromMetadata(FormMetaField $field, Metadata $metadata) global() argument
[all...]
/plugin/findologicxmlexport/vendor/jms/serializer/src/Construction/
H A DDoctrineObjectConstructor.php54 $objectManager = $this->managerRegistry->getManagerForClass($metadata->name);
58 … return $this->fallbackConstructor->construct($visitor, $metadata, $data, $type, $context);
64 if ($classMetadataFactory->isTransient($metadata->name)) {
66 … return $this->fallbackConstructor->construct($visitor, $metadata, $data, $type, $context);
72 return $objectManager->getReference($metadata->name, $data);
76 $classMetadata = $objectManager->getClassMetadata($metadata->name);
80 if (isset($metadata->propertyMetadata[$name])) {
81 $dataName = $metadata->propertyMetadata[$name]->serializedName;
87 … return $this->fallbackConstructor->construct($visitor, $metadata, $data, $type, $context);
93 $object = $objectManager->find($metadata->name, $identifierList);
[all …]
/plugin/combo/ComboStrap/
H A DMetadataSingleArrayStore.php44 public function set(Metadata $metadata) argument
46 $this->checkResource($metadata->getResource());
47 $this->setFromPersistentName($metadata::getPersistentName(), $metadata->toStoreValue());
50 public function get(Metadata $metadata, $default = null) argument
52 $this->checkResource($metadata->getResource());
53 $value = $this->data[$metadata::getPersistentName()] ?? null;
57 foreach ($metadata::getOldPersistentNames() as $name) {
60 $this->data[$metadata::getPersistentName()] = $value;
126 public function remove(Metadata $metadata) argument
[all...]
/plugin/findologicxmlexport/vendor/jms/serializer/src/Metadata/Driver/
H A DYamlDriver.php53 $metadata = new ClassMetadata($name);
54 $metadata->fileResources[] = $file;
57 $metadata->fileResources[] = $fileResource;
64 $this->addClassProperties($metadata, $config);
251 … $metadata->isList = $metadata->isList || PropertyMetadata::isCollectionList($pMetadata->type);
252 … $metadata->isMap = $metadata->isMap || PropertyMetadata::isCollectionMap($pMetadata->type);
266 $metadata->addPropertyMetadata($pMetadata);
285 return $metadata;
304 $metadata->xmlRootName = (string) $config['xml_root_name'];
317 $metadata->registerNamespace($uri, $prefix);
[all …]
/plugin/quickstats/GEOIP/vendor/maxmind-db/reader/src/MaxMind/Db/
H A DReader.php29 private $metadata; variable in MaxMind\\Db\\Reader
72 $this->metadata = new Metadata($metadataArray);
75 $this->metadata->searchTreeSize + self::$DATA_SECTION_SEPARATOR_SIZE
159 $metadata = $this->metadata;
163 if ($metadata->ipVersion === 6) {
167 } elseif ($metadata->ipVersion === 4 && $bitCount === 128) {
174 $nodeCount = $metadata->nodeCount;
195 if ($this->metadata->ipVersion === 4) {
201 for ($i = 0; $i < 96 && $node < $this->metadata
294 public function metadata() global() function in MaxMind\\Db\\Reader
[all...]
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Metadata/Driver/
H A DDoctrineDriverTest.php34 $metadata = $this->getMetadata();
38 $metadata->propertyMetadata['createdAt']->type
44 $metadata = $this->getMetadata();
47 $metadata->propertyMetadata['author']->type
53 $metadata = $this->getMetadata();
62 $metadata->propertyMetadata['comments']->type
68 $metadata = $this->getMetadata();
73 $metadata->propertyMetadata['published']->type
79 $metadata = $this->getMetadata();
117 $metadata = $this->getMetadata();
[all …]
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Dialogflow/
H A DGoogleCloudDialogflowCxV3ResponseMessageConversationSuccess.php25 public $metadata; variable in Google\\Service\\Dialogflow\\GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess
30 public function setMetadata($metadata) argument
32 $this->metadata = $metadata;
39 return $this->metadata;
H A DGoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff.php25 public $metadata; variable in Google\\Service\\Dialogflow\\GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
30 public function setMetadata($metadata) argument
32 $this->metadata = $metadata;
39 return $this->metadata;

12345678910>>...23