Exemple #1
0
 /**
  * Create directory tree.
  *
  * @param string $dir
  * @return bool
  */
 public function makeDirectory($dir = '')
 {
     $dirPath = rtrim($this->outputPath . '/' . ltrim($dir, '/'), '/');
     parent::makeDirectory($dirPath);
     // Directory was created
     if ($this->filesystem->exists($dirPath)) {
         return true;
     }
     return false;
 }