PageRenderTime 48ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/module/Provisioning/src/Provisioning/Model/DeviceType.php

https://gitlab.com/jeann2015/nexus
PHP | 49 lines | 15 code | 12 blank | 22 comment | 0 complexity | ce8763c21feaeba0d0d6852df8a484bf MD5 | raw file
Possible License(s): BSD-3-Clause
  1. <?php
  2. /*
  3. * To change this license header, choose License Headers in Project Properties.
  4. * To change this template file, choose Tools | Templates
  5. * and open the template in the editor.
  6. */
  7. namespace Provisioning\Model;
  8. use Provisioning\InputFilter\DeviceTypeInputFilter;
  9. /**
  10. * Description of Device
  11. *
  12. * @author rodolfo
  13. */
  14. class DeviceType extends DeviceTypeInputFilter {
  15. public $type;
  16. /**
  17. * Gets the value of type.
  18. *
  19. * @return mixed
  20. */
  21. public function getType()
  22. {
  23. return $this->type;
  24. }
  25. /**
  26. * Sets the value of type.
  27. *
  28. * @param mixed $type the type
  29. *
  30. * @return self
  31. */
  32. public function setType($type)
  33. {
  34. $this->type = $type;
  35. return $this;
  36. }
  37. }