ApiPlatform\Core\Tests\Metadata\Property\Factory\CachedPropertyNameCollectionFactoryTest::generateCacheKey PHP Method

generateCacheKey() private method

private generateCacheKey ( string $resourceClass = Dummy::class, array $options = [] )
$resourceClass string
$options array
    private function generateCacheKey(string $resourceClass = Dummy::class, array $options = [])
    {
        return CachedPropertyNameCollectionFactory::CACHE_KEY_PREFIX . md5(serialize([$resourceClass, $options]));
    }