AbstractApi.php 479 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace ThurData\Servers\KerioEmail\Core\Api;
  3. use \ThurData\Servers\KerioEmail\Core\Api\AbstractApi\Curl\Request;
  4. use \ThurData\Servers\KerioEmail\Core\DependencyInjection;
  5. /**
  6. * Description of AbstractApi
  7. *
  8. * @autor ThurData <info@thurdata.ch>
  9. */
  10. class AbstractApi
  11. {
  12. protected $token;
  13. protected $code;
  14. /**
  15. * @return Request
  16. */
  17. protected function getNewRequest()
  18. {
  19. return DependencyInjection::create(Request::class);
  20. }
  21. }