protected function makeDirectory($path) { if (!$this->files->isDirectory($path)) { $this->files->makeDirectory($path, 0777, true, true); } }