/**
  * Build the directory for the class if necessary.
  *
  * @param  string  $path
  * @return string
  */
 protected function makeDirectory($path)
 {
     if (!$this->files->isDirectory(dirname($path))) {
         $this->files->makeDirectory(dirname($path), 0777, true, true);
     }
 }
Beispiel #2
0
 /**
  * Checks if macro is registered.
  *
  * @param string $name
  * @return bool 
  * @static 
  */
 public static function hasMacro($name)
 {
     //Method inherited from \Illuminate\Filesystem\Filesystem
     return \October\Rain\Filesystem\Filesystem::hasMacro($name);
 }