protected function writePathList(DOMElement $parent, $name, $key, Configuration $configuration) { $projectDir = $this->config->getProjectsDirectory(); $paths = [$this->project->getPaths(), $configuration->getPaths()]; }