<?php

namespace ThurData\Servers\KerioEmail\App\Traits;


use ThurData\Servers\KerioEmail\App\Libs\Kerio\Api;
use ThurData\Servers\KerioEmail\App\Libs\Kerio\Components\Api\Soap\Repository;
use function ThurData\Servers\KerioEmail\Core\Helper\di;
/**
 *
 * Created by PhpStorm.
 * User: ThurData
 * Date: 05.09.19
 * Time: 14:08
 * Class KerioApiHandler
 */
trait KerioApiHandler
{

    /**
     * @return \ThurData\Servers\KerioEmail\App\Libs\Kerio\Api
     */
    public function getApi()
    {
        /* @var $api \ThurData\Servers\KerioEmail\App\Libs\Kerio\Api */
        $api = di('kerio');
        return $api;
    }


}