<?php

namespace ModulesGarden\Servers\ZimbraEmail\App\Libs\Zimbra\Components\Api\Interfaces;


/**
 *
 * Created by PhpStorm.
 * User: Tomasz Bielecki ( tomasz.bi@modulesgarden.com )
 * Date: 03.10.19
 * Time: 12:12
 * Class ConnectionInterface
 */
interface ConnectionInterface
{

    /**
     * check if connection has been established
     *
     * @return bool
     */
    public function isConnected();

    /**
     * return connection error message
     *
     * @return mixed
     */
    public function getConnectionError();
}