public function generateKey(string $type, string $id, array $options = []): string
    {
        $locale = \strtr($options['locale'] ?? '__ALL__', [
            '-' => '_',
            '*' => '__ALL__',
        ]);

        return 'contentful.'
            .$this->api
            .'.'
            .$this->spaceId
            .'.'
            .$this->environmentId
            .'.'
            .$type
            .'.'
            .$this->sanitize($id)
            .'.'
            .$locale;
    }
public function generateKey(string $type, string $id, array $options = []): string
    {
        $locale = \strtr($options['locale'] ?? '__ALL__', [
            '-' => '_',
            '*' => '__ALL__',
        ]);

        return 'contentful.'
            .$this->api
            .'.'
            .$this->spaceId
            .'.'
            .$this->environmentId
            .'.'
            .$type
            .'.'
            .$this->sanitize($id)
            .'.'
            .$locale;
    }
{@inheritdoc}