Server : LiteSpeed System : Linux server321.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : apotdzgr ( 7060) PHP Version : 8.0.30 Disable Function : NONE Directory : /home/apotdzgr/snelapotheeks.com/wp-content/plugins/loco-translate/src/fs/ |
Upload File : |
<?php /** * */ class Loco_fs_Directory extends Loco_fs_File { /** * Recursive flag for internal use */ private bool $r = false; /** * {@inheritDoc} */ public function isDirectory():bool { return true; } /** * Set recursive flag for use when traversing directory trees */ public function setRecursive( bool $bool ):self { $this->r = $bool; return $this; } /** * @return bool */ public function isRecursive():bool { return $this->r; } /** * Create this directory for real. * * @throws Loco_error_WriteException * @return Loco_fs_Directory */ public function mkdir():self { $this->getWriteContext()->mkdir(); return $this; } }