PHP Class eZ\Publish\Core\Base\Container\ApiLoader\FieldTypeNameableCollectionFactory

Inheritance: implements Symfony\Component\DependencyInjection\ContainerAwareInterface, use trait Symfony\Component\DependencyInjection\ContainerAwareTrait
Datei anzeigen Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Property Type Description
$nameableFieldTypeClosures Closure[] Collection of fieldTypes, lazy loaded via a closure.

Public Methods

Method Description
getNameableFieldTypes ( ) : Closure[] Returns registered field types (as closures to be lazy loaded in the public API).
registerNameableFieldType ( string $nameableFieldTypeServiceId, string $fieldTypeAlias ) Registers an eZ Publish field type.
registerNonNameableFieldType ( $fieldTypeServiceId, string $fieldTypeAlias ) Registers an eZ Publish field type.

Method Details

getNameableFieldTypes() public method

Returns registered field types (as closures to be lazy loaded in the public API).
public getNameableFieldTypes ( ) : Closure[]
return Closure[]

registerNameableFieldType() public method

Field types are being registered as a closure so that they will be lazy loaded.
public registerNameableFieldType ( string $nameableFieldTypeServiceId, string $fieldTypeAlias )
$nameableFieldTypeServiceId string The field type nameable service Id
$fieldTypeAlias string The field type alias (e.g. "ezstring")

registerNonNameableFieldType() public method

Field types are being registered as a closure so that they will be lazy loaded.
public registerNonNameableFieldType ( $fieldTypeServiceId, string $fieldTypeAlias )
$fieldTypeAlias string The field type alias (e.g. "ezstring")

Property Details

$nameableFieldTypeClosures protected_oe property

Collection of fieldTypes, lazy loaded via a closure.
protected Closure[] $nameableFieldTypeClosures
return Closure[]