AbstractAction.php 964 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. namespace ThurData\Servers\KerioEmail\App\Libs\Kerio\Components\Api\Soap\Interfaces;
  3. use ThurData\Servers\KerioEmail\App\Libs\Kerio\Components\Api\Soap\Connection;
  4. use ThurData\Servers\KerioEmail\App\Libs\Kerio\Components\Api\Soap\Traits\ErrorHandler;
  5. /**
  6. *
  7. * Created by PhpStorm.
  8. * User: ThurData
  9. * Date: 28.08.19
  10. * Time: 13:56
  11. * Class AbstractAction
  12. */
  13. abstract class AbstractAction extends AbstractConnection
  14. {
  15. use ErrorHandler;
  16. /**
  17. * @var \ThurData\Servers\KerioEmail\App\Libs\Kerio\Components\Api\Soap\Response
  18. */
  19. protected $lastResult = null;
  20. /**
  21. * @return |null
  22. */
  23. public function getLastResult()
  24. {
  25. return $this->lastResult;
  26. }
  27. /**
  28. * @param $lastResult
  29. * @return \ThurData\Servers\KerioEmail\App\Libs\Kerio\Components\Api\Soap\Response
  30. */
  31. public function setLastResult($lastResult)
  32. {
  33. $this->lastResult = $lastResult;
  34. return $this;
  35. }
  36. }