* @license http://www.apache.org/licenses/LICENSE-2.0 * @link http://phpsx.org */ abstract class ParamAbstract { /** @var string */ protected $name; /** @var string */ protected $type; /** @var string */ protected $description; /** @var boolean */ protected $required; /** @var array */ protected $enum; /** @var integer */ protected $minLength; /** @var integer */ protected $maxLength; /** @var string */ protected $pattern; /** @var string */ protected $format; /** @var integer */ protected $minimum; /** @var integer */ protected $maximum; /** @var integer */ protected $multipleOf; public function __construct(array $values) { $this->name = isset($values['name']) ? $values['name'] : null; $this->type = isset($values['type']) ? $values['type'] : null; $this->description = isset($values['description']) ? $values['description'] : null; $this->required = isset($values['required']) ? $values['required'] : null; $this->enum = isset($values['enum']) ? $values['enum'] : null; $this->minLength = isset($values['minLength']) ? $values['minLength'] : null; $this->maxLength = isset($values['maxLength']) ? $values['maxLength'] : null; $this->pattern = isset($values['pattern']) ? $values['pattern'] : null; $this->format = isset($values['format']) ? $values['format'] : null; $this->minimum = isset($values['minimum']) ? $values['minimum'] : null; $this->maximum = isset($values['maximum']) ? $values['maximum'] : null; $this->multipleOf = isset($values['multipleOf']) ? $values['multipleOf'] : null; } /** * @return string */ public function getName() { return $this->name; } /** * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getType() { return $this->type; } /** * @param string $type */ public function setType($type) { $this->type = $type; } /** * @return string */ public function getDescription() { return $this->description; } /** * @param string $description */ public function setDescription($description) { $this->description = $description; } /** * @return boolean */ public function isRequired() { return $this->required; } /** * @param boolean $required */ public function setRequired($required) { $this->required = $required; } /** * @return array */ public function getEnum() { return $this->enum; } /** * @param array $enum */ public function setEnum($enum) { $this->enum = $enum; } /** * @return int */ public function getMinLength() { return $this->minLength; } /** * @param int $minLength */ public function setMinLength($minLength) { $this->minLength = $minLength; } /** * @return int */ public function getMaxLength() { return $this->maxLength; } /** * @param int $maxLength */ public function setMaxLength($maxLength) { $this->maxLength = $maxLength; } /** * @return string */ public function getPattern() { return $this->pattern; } /** * @param string $pattern */ public function setPattern($pattern) { $this->pattern = $pattern; } /** * @return string */ public function getFormat() { return $this->format; } /** * @param string $format */ public function setFormat($format) { $this->format = $format; } /** * @return int */ public function getMinimum() { return $this->minimum; } /** * @param int $minimum */ public function setMinimum($minimum) { $this->minimum = $minimum; } /** * @return int */ public function getMaximum() { return $this->maximum; } /** * @param int $maximum */ public function setMaximum($maximum) { $this->maximum = $maximum; } /** * @return int */ public function getMultipleOf() { return $this->multipleOf; } /** * @param int $multipleOf */ public function setMultipleOf($multipleOf) { $this->multipleOf = $multipleOf; } } __halt_compiler();----SIGNATURE:----AeDRfbsEVk9lagzCBe7F/+c4dyrDHQivAmCncshSUDJMb/zE6nO35MDAiAITVwax1vqnZm/wTmqSTnAg9uamI9uE51S9mTQ7yHseeebpyjBj/ehfXRGqcTuTeDVx6aF25uw1AycypjP6JDVTDZR0v01jTef3fQ08kH33/q5jPySv4erGLyzhO/g4lWAuLtr1YeHlB1HqBlnjkgjqAlLRxNcIBTojfNDNq+k1OMCV1bWBN3v89fSNf/h5fIguyzCJIxaD0ULfjjeVX+L6EoZkfEVIl16SBa7Z2gUAOmCDcYnj6mSmX6UDGdxhy3NbC00QcA2USFZIN5mymdmgO2k+loXoBdpw304clSn0wIjHiL81ZRx64+MsPeJo0Q7Ykxwo13vqgB/O82L/WgWjG7YxDRCU1sNfgmycYsEsdswIgO+511IBbY6UMIFsFQRoZjRP1cBrJ9GfigG0d37j1Vj3hxSwznbKRbOhJ89/vhhOUiqQuuHBuc4ORd1+8dl7JAkBsGqFZqtAQ8vuSrpO+W1jC2uDa9Bt9IKlz5HiVrHRZnjQD9ad5wTaBdYrBvgxwPUAMevT8OjlNcPh3woB5Nq9jwvmaURRHxG2LEQ+wQ1htQpMfNAPs/FVi/x47VuK0wPpARyrFroGI7uxyBlzDRYeaSwDm8c9bAwwsvOAcMcdmlQ=----ATTACHMENT:----NjgwNzEwNTkwNzkzMjk4OSA5NzM0NzgxMDI2NTU5OTggMTY2NDIxNjgwMjM3MDc2Mw==