public function __construct(Filesystem $filesystem, $dir, $gitExecutable) { $this->filesystem = $filesystem; $this->dir = $dir; $this->gitExecutable = $gitExecutable; $this->filesystem->mkdir($this->dir); }