Σ(゚Д゚;≡;゚д゚)Σ(゚Д゚;≡;゚д゚)Σ(゚Д゚;≡;゚д゚)始,故人唐宰相鲁公,🆚开府南服,余以布衣从戎。明年,别公漳水湄。后明年,公以事过张睢阳庙及颜杲卿所尝往来处,悲歌慷慨,卒不负其言而从之游。今其诗具在,可考也。😭
<?php
/**
*
*/
class Loco_fs_Directory extends Loco_fs_File {
/**
* Recursive flag for internal use
* @var bool
*/
private $r = false;
/**
* {@inheritDoc}
*/
public function isDirectory(){
return true;
}
/**
* Set recursive flag for use when traversing directory trees
* @param bool $bool
* @return Loco_fs_Directory
*/
public function setRecursive( $bool ){
$this->r = (bool) $bool;
return $this;
}
/**
* @return bool
*/
public function isRecursive(){
return $this->r;
}
/**
* Create this directory for real.
*
* @throws Loco_error_WriteException
* @return Loco_fs_Directory
*/
public function mkdir(){
$this->getWriteContext()->mkdir();
return $this;
}
}