HEX
Server: LiteSpeed
System: Linux dune179.sitesanctuary.org 5.14.0-427.40.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 16 07:08:17 EDT 2024 x86_64
User: h278792 (1076)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/h278792/public_html/wp-content/plugins/loco-translate/src/fs/Directory.php
<?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;
     }

}