private function createFolderIfNotExists($cache_path)
    {
        if (!is_dir($cache_path)) {
            if (false === @mkdir($cache_path, 0777 & (~$this->umask), true) && !is_dir($cache_path)) {
                return false;
            }
        }
        return true;
    }
private function createFolderIfNotExists($cache_path)
    {
        if (!is_dir($cache_path)) {
            if (false === @mkdir($cache_path, 0777 & (~$this->umask), true) && !is_dir($cache_path)) {
                return false;
            }
        }
        return true;
    }
private function createFolderIfNotExists ( $ cache_path ) { if ( ! is_dir ( $ cache_path ) ) { if ( false === @ mkdir ( $ cache_path , 0777 & ( ~ $ this -> umask ) , true ) && ! is_dir ( $ cache_path ) ) { return false ; } } return true ; }
Create folder or path if it is not exists.

@param string $cache_path Path to check and create.
@return boolean Return true if exists or created, return false for otherwise.
Create folder or path if it is not exists .