protected function bound()
    {
        $number = $this->getParameter('number');
        $min = $this->getParameter('min');
        $max = $this->getParameter('max');

        if ($number instanceof Meta) {
            $number = $number->getValue();
        }

        return NumberUtils::bound($number, $min, $max);
    }
protected function bound()
    {
        $number = $this->getParameter('number');
        $min = $this->getParameter('min');
        $max = $this->getParameter('max');

        if ($number instanceof Meta) {
            $number = $number->getValue();
        }

        return NumberUtils::bound($number, $min, $max);
    }
protected function bound ( ) { $ number = $ this -> getParameter ( 'number' ) ; $ min = $ this -> getParameter ( 'min' ) ; $ max = $ this -> getParameter ( 'max' ) ; if ( $ number instanceof Meta ) { $ number = $ number -> getValue ( ) ; } return NumberUtils :: bound ( $ number , $ min , $ max ) ; }
Return a number within a range.

@return integer
Return a number within a range .