private function existCertificate()
    {
        if (isset($this->config['certificate'])) {
            $certificate = $this->config['certificate'];
            if (!file_exists($certificate)) {
                $this->messageNoExistCertificate();
                return false;
            }

            return true;
        }

        $this->messageNoExistCertificate();
        return false;
    }
private function existCertificate()
    {
        if (isset($this->config['certificate'])) {
            $certificate = $this->config['certificate'];
            if (!file_exists($certificate)) {
                $this->messageNoExistCertificate();
                return false;
            }

            return true;
        }

        $this->messageNoExistCertificate();
        return false;
    }
private function existCertificate ( ) { if ( isset ( $ this -> config [ 'certificate' ] ) ) { $ certificate = $ this -> config [ 'certificate' ] ; if ( ! file_exists ( $ certificate ) ) { $ this -> messageNoExistCertificate ( ) ; return false ; } return true ; } $ this -> messageNoExistCertificate ( ) ; return false ; }
Check if the certificate file exist.
@return bool
Check if the certificate file exist .