PHP Класс eZ\Publish\Core\Base\Container\ApiLoader\Storage\ExternalStorageRegistryFactory

Наследование: implements Symfony\Component\DependencyInjection\ContainerAwareInterface, use trait Symfony\Component\DependencyInjection\ContainerAwareTrait
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$externalStorages Closure[] Collection of external storage handlers for field types that need them.

Открытые методы

Метод Описание
buildExternalStorageRegistry ( string $externalStorageRegistryClass ) : StorageRegistry Returns external storage registry.
getExternalStorageHandlers ( ) : Closure[] Returns registered external storage handlers for field types (as closures to be lazy loaded in the public API).
registerExternalStorageHandler ( string $serviceId, string $fieldTypeAlias ) Registers an external storage handler for a field type, identified by $fieldTypeAlias.

Описание методов

buildExternalStorageRegistry() публичный метод

Returns external storage registry.
public buildExternalStorageRegistry ( string $externalStorageRegistryClass ) : StorageRegistry
$externalStorageRegistryClass string
Результат eZ\Publish\Core\Persistence\Legacy\Content\StorageRegistry

getExternalStorageHandlers() публичный метод

Returns registered external storage handlers for field types (as closures to be lazy loaded in the public API).
public getExternalStorageHandlers ( ) : Closure[]
Результат Closure[]

registerExternalStorageHandler() публичный метод

They are being registered as closures so that they will be lazy loaded.
public registerExternalStorageHandler ( string $serviceId, string $fieldTypeAlias )
$serviceId string The external storage handler service Id
$fieldTypeAlias string The field type alias (e.g. "ezstring")

Описание свойств

$externalStorages защищенное свойство

Collection of external storage handlers for field types that need them.
protected Closure[] $externalStorages
Результат Closure[]