Method | Description | |
---|---|---|
__construct ( ApiPlatform\Core\Metadata\Extractor\ExtractorInterface $extractor, ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface $decorated = null ) | ||
create ( string $resourceClass ) : |
Method | Description | |
---|---|---|
handleNotFound ( |
Returns the metadata from the decorated factory if available or throws an exception. | |
update ( |
Creates a new instance of metadata if the property is not already set. |
public __construct ( ApiPlatform\Core\Metadata\Extractor\ExtractorInterface $extractor, ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface $decorated = null ) | ||
$extractor | ApiPlatform\Core\Metadata\Extractor\ExtractorInterface | |
$decorated | ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface |