public function dir_closedir()
    {
        if ($this->dirHandle === null) {
            return false;
        } else {
            self::restore();
            closedir($this->dirHandle);
            self::register();
            $this->dirHandle = null;
            return true;
        }
    }
public function dir_closedir()
    {
        if ($this->dirHandle === null) {
            return false;
        } else {
            self::restore();
            closedir($this->dirHandle);
            self::register();
            $this->dirHandle = null;
            return true;
        }
    }
public function dir_closedir ( ) { if ( $ this -> dirHandle === null ) { return false ; } else { self :: restore ( ) ; closedir ( $ this -> dirHandle ) ; self :: register ( ) ; $ this -> dirHandle = null ; return true ; } }
Close the directory

@return bool
Close the directory