![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/hessa.corals.io/wp-content/plugins/loco-translate/src/fs/ |
<?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; } }