您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

DnsDomainsDboArray.php 944B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. /**
  3. * AUTO GENERATED BY LUTICATE GENERATOR
  4. * ANY CHANGES WILL BE OVERWRITTEN
  5. */
  6. namespace App\Http\DBO;
  7. use Luticate\Utils\LuDbo;
  8. class DnsDomainsDboArray extends LuDbo {
  9. /**
  10. * @var DnsDomainsDbo[]
  11. */
  12. protected $_array;
  13. public function getArray()
  14. {
  15. return $this->_array;
  16. }
  17. public function setArray($value)
  18. {
  19. $this->_array = $value;
  20. }
  21. public function jsonSerialize()
  22. {
  23. return $this->_array;
  24. }
  25. public static function jsonDeserialize($json)
  26. {
  27. $dbo = new DnsDomainsDboArray();
  28. $array = [];
  29. foreach ($json as $data) {
  30. $array[] = DnsDomainsDbo::jsonDeserialize($data);
  31. }
  32. $dbo->setArray($array);
  33. return $dbo;
  34. }
  35. public static function generateSample()
  36. {
  37. return [
  38. DnsDomainsDbo::generateSample(),
  39. DnsDomainsDbo::generateSample()
  40. ];
  41. }
  42. }