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

Author: Teoh Han Hui ([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 ( Psr\Cache\CacheItemPoolInterface $cacheItemPool, ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface $decorated )
create ( ) : ResourceNameCollection

Method Details

__construct() public method

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

create() public method

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