PHP Class Sulu\Component\Rest\ListBuilder\Metadata\Doctrine\Type\ConcatenationTypeMetadata

Afficher le fichier Open project: sulu/sulu Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $glue = ' ' )
addField ( FieldMetadata $field ) Add a field which should be combined with the other fields.
getFields ( ) : FieldMetadata[] Returns all fields which should be combined.
getGlue ( ) : string Returns glue to combine the field values.

Method Details

__construct() public méthode

public __construct ( $glue = ' ' )

addField() public méthode

Add a field which should be combined with the other fields.
public addField ( FieldMetadata $field )
$field Sulu\Component\Rest\ListBuilder\Metadata\Doctrine\FieldMetadata

getFields() public méthode

Returns all fields which should be combined.
public getFields ( ) : FieldMetadata[]
Résultat Sulu\Component\Rest\ListBuilder\Metadata\Doctrine\FieldMetadata[]

getGlue() public méthode

Returns glue to combine the field values.
public getGlue ( ) : string
Résultat string