private function makeDirectory($directory) {
    if (File::isDirectory($directory)) {
      return TRUE;
    }

    return File::makeDirectory($directory, 0755, TRUE);
  }
private function makeDirectory($directory) {
    if (File::isDirectory($directory)) {
      return TRUE;
    }

    return File::makeDirectory($directory, 0755, TRUE);
  }
private function makeDirectory ( $ directory ) { if ( File :: isDirectory ( $ directory ) ) { return TRUE ; } return File :: makeDirectory ( $ directory , 0755 , TRUE ) ; }
Creates the passed directory if it doesn't exist

@param $directory string
The full path of the directory to create

@return bool
TRUE if the directory exists, FALSE if it could not be created
Creates the passed directory if it doesn t exist