<?php

namespace ThurData\Servers\KerioEmail\App\Libs\Kerio\Components\Api\Soap\Interfaces;


use ThurData\Servers\KerioEmail\App\Libs\Kerio\Components\Api\Soap\Connection;
use ThurData\Servers\KerioEmail\App\Libs\Kerio\Components\Api\Soap\Traits\ErrorHandler;

/**
 *
 * Created by PhpStorm.
 * User: ThurData
 * Date: 28.08.19
 * Time: 13:56
 * Class AbstractAction
 */
abstract class AbstractAction extends AbstractConnection
{
    use ErrorHandler;

    /**
     * @var \ThurData\Servers\KerioEmail\App\Libs\Kerio\Components\Api\Soap\Response
     */
    protected $lastResult = null;

    /**
     * @return |null
     */
    public function getLastResult()
    {
        return $this->lastResult;
    }

    /**
     * @param $lastResult
     * @return \ThurData\Servers\KerioEmail\App\Libs\Kerio\Components\Api\Soap\Response
     */
    public function setLastResult($lastResult)
    {
        $this->lastResult = $lastResult;
        return $this;
    }

}