private function existePdf($filename, $hash){
        $ruta = realpath($this->docsHome).'/'.$hash."-".$filename;
        return file_exists($ruta);
    }
private function existePdf($filename, $hash){
        $ruta = realpath($this->docsHome).'/'.$hash."-".$filename;
        return file_exists($ruta);
    }
private function existePdf ( $ filename , $ hash ) { $ ruta = realpath ( $ this -> docsHome ) . '/' . $ hash . "-" . $ filename ; return file_exists ( $ ruta ) ; }
Checks if a file exists in docs home folder
@param $filename
@param $hash
@return bool
Checks if a file exists in docs home folder