setRequired('project_dir') ->setAllowedTypes('project_dir', 'string') ; $this->config = $optionsResolver->resolve($options); // Static cache without serialization $this->cache = new ArrayAdapter(0, false); } }