Lines Matching refs:upper
126 * @param int $upper Upper bound value.
132 $upper = null, argument
139 if (null === $upper) {
140 $upper = $this->_parameters->getParameter('integer.max');
144 if ($lower > $upper) {
148 [$lower, $upper]
152 return $this->_getInteger($lower, $upper);
158 $upper -= count($exclude);
160 if ($lower > $upper) {
164 [$lower, $upper]
168 $sampled = $this->_getInteger($lower, $upper);
185 * @param int $upper Upper bound value.
188 abstract protected function _getInteger($lower, $upper); argument
194 * @param float $upper Upper bound value.
197 public function getFloat($lower = null, $upper = null) argument
208 if (null === $upper) {
209 $upper = $this->_parameters->getParameter('float.max');
217 if ($lower > $upper) {
220 2, [$lower, $upper]);
223 return $this->_getFloat($lower, $upper);
230 * @param float $upper Upper bound value.
233 abstract protected function _getFloat($lower, $upper); argument