PHP Class Jarves\Admin\FieldTypes\FieldTypes

Mostrar archivo Open project: jarves/jarves

Protected Properties

Property Type Description
$container Symfony\Component\DependencyInjection\ContainerInterface
$types AbstractType[]

Public Methods

Method Description
__construct ( Symfony\Component\DependencyInjection\ContainerInterface $container )
addType ( string $id, string $fieldTypeServiceId )
getTypes ( ) : AbstractType[]
hasType ( string $id ) : boolean
newType ( string $id ) : Jarves\Admin\FieldTypes\TypeInterface

Method Details

__construct() public method

public __construct ( Symfony\Component\DependencyInjection\ContainerInterface $container )
$container Symfony\Component\DependencyInjection\ContainerInterface

addType() public method

public addType ( string $id, string $fieldTypeServiceId )
$id string
$fieldTypeServiceId string

getTypes() public method

public getTypes ( ) : AbstractType[]
return AbstractType[]

hasType() public method

public hasType ( string $id ) : boolean
$id string
return boolean

newType() public method

public newType ( string $id ) : Jarves\Admin\FieldTypes\TypeInterface
$id string
return Jarves\Admin\FieldTypes\TypeInterface

Property Details

$container protected_oe property

protected ContainerInterface,Symfony\Component\DependencyInjection $container
return Symfony\Component\DependencyInjection\ContainerInterface

$types protected_oe property

protected AbstractType[],Jarves\Admin\FieldTypes $types
return AbstractType[]