ProductDomain.php 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?php
  2. /*
  3. * Licensed to the Apache Software Foundation (ASF) under one
  4. * or more contributor license agreements. See the NOTICE file
  5. * distributed with this work for additional information
  6. * regarding copyright ownership. The ASF licenses this file
  7. * to you under the Apache License, Version 2.0 (the
  8. * "License"); you may not use this file except in compliance
  9. * with the License. You may obtain a copy of the License at
  10. *
  11. * http://www.apache.org/licenses/LICENSE-2.0
  12. *
  13. * Unless required by applicable law or agreed to in writing,
  14. * software distributed under the License is distributed on an
  15. * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  16. * KIND, either express or implied. See the License for the
  17. * specific language governing permissions and limitations
  18. * under the License.
  19. */
  20. class ProductDomain
  21. {
  22. /**
  23. * @var string
  24. */
  25. private $productName;
  26. /**
  27. * @var string
  28. */
  29. private $domainName;
  30. /**
  31. * ProductDomain constructor.
  32. *
  33. * @param string $product
  34. * @param string $domain
  35. */
  36. public function __construct($product, $domain)
  37. {
  38. $this->productName = $product;
  39. $this->domainName = $domain;
  40. }
  41. /**
  42. * @return string
  43. */
  44. public function getProductName()
  45. {
  46. return $this->productName;
  47. }
  48. /**
  49. * @param $productName
  50. */
  51. public function setProductName($productName)
  52. {
  53. $this->productName = $productName;
  54. }
  55. /**
  56. * @return string
  57. */
  58. public function getDomainName()
  59. {
  60. return $this->domainName;
  61. }
  62. /**
  63. * @param $domainName
  64. */
  65. public function setDomainName($domainName)
  66. {
  67. $this->domainName = $domainName;
  68. }
  69. }