PHP Class ApiPlatform\Core\Metadata\Resource\Factory\ExtractorResourceNameCollectionFactory

Author: Kévin Dunglas ([email protected])
Author: Antoine Bluchet ([email protected])
Inheritance: implements ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface
Show file Open project: api-platform/core Class Usage Examples

Public Methods

Method Description
__construct ( ApiPlatform\Core\Metadata\Extractor\ExtractorInterface $extractor, ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface $decorated = null )
create ( ) : ResourceNameCollection

Method Details

__construct() public method

public __construct ( ApiPlatform\Core\Metadata\Extractor\ExtractorInterface $extractor, ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface $decorated = null )
$extractor ApiPlatform\Core\Metadata\Extractor\ExtractorInterface
$decorated ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface

create() public method

public create ( ) : ResourceNameCollection
return ApiPlatform\Core\Metadata\Resource\ResourceNameCollection