public function createDir($destination) { if (Filesystem::isDir($destination)) { $this->log('exists', $destination); } else { Filesystem::createDir($destination, 0777); $this->log('created', $destination); } }