getFilePaths()->get('projectDockerCompose'); if (!$projectDockerCompose instanceof SpinnerFilePath) { throw new \Exception('Project Docker Compose file path not found.'); } return parent::__construct($projectDockerCompose, $config); } public function build(InputInterface $input): DockerComposeFileBuilder { $this->content = file_get_contents( $this->config->getFilePaths()->get('phpYamlTemplate')->getAbsolutePath() ); return $this; } }