/** * return min occurs. * * @return int */ public function getMinOccurs() { return $this->property->getMinOccurs(); }
/** * 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(); }