Ejemplo n.º 1
0
 /**
  * Removes the directory specified by <i>$dirName</i>.<br />
  * <br />
  * The directory must be empty for rmdir() to succeed.<br />
  * <br />
  * Returns true if successful; otherwise returns false.
  * 
  * @param string $dirName
  * @return boolean
  */
 public function rmdir($dirName)
 {
     MDataType::mustBeString($dirName);
     return unlink($this->fileInfo->getAbsoluteFilePath() . MDir::getSeparator() . $dirName);
 }