PHP Interface Sulu\Component\Rest\ListBuilder\Metadata\ProviderInterface

In case of using the jms/metadata component you can use the metadata-factory adapter to provide metadata for the list-builder.
显示文件 Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
getMetadataForClass ( string $className ) : Metadata\ClassMetadata Load metadata for the given class.

Method Details

getMetadataForClass() public method

Load metadata for the given class.
public getMetadataForClass ( string $className ) : Metadata\ClassMetadata
$className string
return Metadata\ClassMetadata