src/Factory/DoctrineFilesystemFactory.php
protected static function configureOptionResolver(OptionsResolver $resolver)
    {
        $resolver->setDefaults([
            'extension' => FilesystemCache::EXTENSION,
            'umask' => '0002',
        ]);

        $resolver->setRequired(['directory']);

        $resolver->setAllowedTypes('directory', ['string']);
        $resolver->setAllowedTypes('extension', ['string']);
        $resolver->setAllowedTypes('umask', ['string', 'int']);
    }
protected static function configureOptionResolver(OptionsResolver $resolver)
    {
        $resolver->setDefaults([
            'extension' => FilesystemCache::EXTENSION,
            'umask' => '0002',
        ]);

        $resolver->setRequired(['directory']);

        $resolver->setAllowedTypes('directory', ['string']);
        $resolver->setAllowedTypes('extension', ['string']);
        $resolver->setAllowedTypes('umask', ['string', 'int']);
    }
{@inheritdoc}