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

ファイルを表示 Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
addCase ( FieldMetadata $case ) Add a case.
getCase ( integer $index ) : FieldMetadata Returns a single case.
getCases ( ) : FieldMetadata[] Returns all cases.

Method Details

addCase() public method

Add a case.
public addCase ( FieldMetadata $case )
$case Sulu\Component\Rest\ListBuilder\Metadata\Doctrine\FieldMetadata

getCase() public method

Returns a single case.
public getCase ( integer $index ) : FieldMetadata
$index integer
return Sulu\Component\Rest\ListBuilder\Metadata\Doctrine\FieldMetadata

getCases() public method

Returns all cases.
public getCases ( ) : FieldMetadata[]
return Sulu\Component\Rest\ListBuilder\Metadata\Doctrine\FieldMetadata[]