PHP Class ApiPlatform\Core\Metadata\Property\Factory\AnnotationPropertyNameCollectionFactory

Author: Kévin Dunglas ([email protected])
Inheritance: implements ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface
Datei anzeigen Open project: api-platform/core Class Usage Examples

Public Methods

Method Description
__construct ( Doctrine\Common\Annotations\Reader $reader, ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface $decorated = null )
create ( string $resourceClass, array $options = [] ) : PropertyNameCollection

Method Details

__construct() public method

public __construct ( Doctrine\Common\Annotations\Reader $reader, ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface $decorated = null )
$reader Doctrine\Common\Annotations\Reader
$decorated ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface

create() public method

public create ( string $resourceClass, array $options = [] ) : PropertyNameCollection
$resourceClass string
$options array
return ApiPlatform\Core\Metadata\Property\PropertyNameCollection