public function createDirectory($dirPath)
    {
      if (! $this->fs->exists($dirPath))
      {
        $this->fs->mkdir($dirPath);
      }
    }
public function createDirectory($dirPath)
    {
      if (! $this->fs->exists($dirPath))
      {
        $this->fs->mkdir($dirPath);
      }
    }
public function createDirectory ( $ dirPath ) { if ( ! $ this -> fs -> exists ( $ dirPath ) ) { $ this -> fs -> mkdir ( $ dirPath ) ; } }
Create a directory if doesn't exists.

@param string $dirPath Directory path
@return null
Create a directory if doesn t exists .