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

Author: Teoh Han Hui ([email protected])
Inheritance: implements ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface
Afficher le fichier Open project: api-platform/core Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Psr\Cache\CacheItemPoolInterface $cacheItemPool, ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface $decorated )
create ( string $resourceClass ) : ResourceMetadata

Method Details

__construct() public méthode

public __construct ( Psr\Cache\CacheItemPoolInterface $cacheItemPool, ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface $decorated )
$cacheItemPool Psr\Cache\CacheItemPoolInterface
$decorated ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface

create() public méthode

public create ( string $resourceClass ) : ResourceMetadata
$resourceClass string
Résultat ApiPlatform\Core\Metadata\Resource\ResourceMetadata