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

generateCacheKey() private method

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