Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

FieldTypeRegistryFactory.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\Core\Base\Container\ApiLoader\Storage;
8
9 use eZ\Publish\Core\Base\Container\ApiLoader\FieldTypeCollectionFactory;
10
11 class FieldTypeRegistryFactory
12 {
21 public function buildFieldTypeRegistry($fieldTypeRegistryClass, FieldTypeCollectionFactory $fieldTypeCollectionFactory)
22 {
23 return new $fieldTypeRegistryClass(
24 $fieldTypeCollectionFactory->getFieldTypes()
25 );
26 }
27 }
eZ\Publish\Core\Base\Container\ApiLoader\FieldTypeCollectionFactory
Definition: FieldTypeCollectionFactory.php:13
eZ\Publish\Core\Base\Container\ApiLoader\FieldTypeCollectionFactory\getFieldTypes
getFieldTypes()
Returns registered field types (as closures to be lazy loaded in the public API).
Definition: FieldTypeCollectionFactory.php:50
eZ\Publish\Core\Base\Container\ApiLoader\Storage\FieldTypeRegistryFactory
Definition: FieldTypeRegistryFactory.php:12
eZ\Publish\Core\Base\Container\ApiLoader\Storage\FieldTypeRegistryFactory\buildFieldTypeRegistry
buildFieldTypeRegistry($fieldTypeRegistryClass, FieldTypeCollectionFactory $fieldTypeCollectionFactory)
Returns storage field type registry.
Definition: FieldTypeRegistryFactory.php:21
eZ\Publish\Core\Base\Container\ApiLoader\Storage
Definition: ExternalStorageRegistryFactory.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.