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