AbstractMethod.php 603 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace ModulesGarden\ProxmoxAddon\App\Libs\Api\ENom\Method;
  3. /**
  4. * Description of AbstractMethod
  5. *
  6. * @author Rafał Ossowski <rafal.os@modulesgarden.com>
  7. */
  8. class AbstractMethod
  9. {
  10. const RESPONSE_RESULT_ERROR = 'error';
  11. const RESPONSE_RESULT_TAKEN = 'taken';
  12. const RESPONSE_RESULT_FREE = 'free';
  13. protected $request;
  14. protected $settings;
  15. protected $idnaConvert;
  16. public function __construct($request, $settings, $idnaConvert)
  17. {
  18. $this->request = $request;
  19. $this->settings = $settings;
  20. $this->idnaConvert = $idnaConvert;
  21. }
  22. }