Method | Description | |
---|---|---|
__construct ( ApiPlatform\Core\Metadata\Extractor\ExtractorInterface $extractor, ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface $decorated = null ) | ||
create ( string $resourceClass, string $property, array $options = [] ) : |
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\Property\Factory\PropertyMetadataFactoryInterface $decorated = null ) | ||
$extractor | ApiPlatform\Core\Metadata\Extractor\ExtractorInterface | |
$decorated | ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface |