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

DnsTsigkeysDboArray.php 950B

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 DnsTsigkeysDboArray extends LuDbo {
  9. /**
  10. * @var DnsTsigkeysDbo[]
  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 DnsTsigkeysDboArray();
  28. $array = [];
  29. foreach ($json as $data) {
  30. $array[] = DnsTsigkeysDbo::jsonDeserialize($data);
  31. }
  32. $dbo->setArray($array);
  33. return $dbo;
  34. }
  35. public static function generateSample()
  36. {
  37. return [
  38. DnsTsigkeysDbo::generateSample(),
  39. DnsTsigkeysDbo::generateSample()
  40. ];
  41. }
  42. }