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

Mostrar archivo Open project: sulu/sulu Class Usage Examples

Public Methods

Method 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 method

public __construct ( $glue = ' ' )

addField() public method

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 method

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

getGlue() public method

Returns glue to combine the field values.
public getGlue ( ) : string
return string