getMinOccurs() public method

return min occurs.
public getMinOccurs ( ) : integer
return integer
Example #1
0
 /**
  * return min occurs.
  *
  * @return int
  */
 public function getMinOccurs()
 {
     return $this->property->getMinOccurs();
 }
Example #2
0
 /**
  * Return true if property is an array and needs an add button.
  *
  * @param $property PropertyInterface
  *
  * @return bool
  */
 public function needsAddButtonFunction(PropertyInterface $property)
 {
     return $property->getMaxOccurs() > $property->getMinOccurs();
 }