<?php

namespace ModulesGarden\Servers\ZimbraEmail\App\Traits;


use ModulesGarden\Servers\ZimbraEmail\App\Libs\Zimbra\Api;
use ModulesGarden\Servers\ZimbraEmail\App\Libs\Zimbra\Components\Api\Soap\Repository;
use function ModulesGarden\Servers\ZimbraEmail\Core\Helper\di;
/**
 *
 * Created by PhpStorm.
 * User: Tomasz Bielecki ( tomasz.bi@modulesgarden.com )
 * Date: 05.09.19
 * Time: 14:08
 * Class ZimbraApiHandler
 */
trait ZimbraApiHandler
{

    /**
     * @return \ModulesGarden\Servers\ZimbraEmail\App\Libs\Zimbra\Api
     */
    public function getApi()
    {
        /* @var $api \ModulesGarden\Servers\ZimbraEmail\App\Libs\Zimbra\Api */
        $api = di('zimbra');
        return $api;
    }


}