src/Budkit/Protocol/Input.php
public function getInt($name, $default = '', $verb = 'get', $options = array())
    {

        $filter = \IS\INTERGER; //FILTER_SANITIZE_NUMBER_INT

        $interger = $this->getVar($name, $filter, $default, $verb, $options);

        //@TODO validate is interger before return
        return (int)$interger;
    }
public function getInt($name, $default = '', $verb = 'get', $options = array())
    {

        $filter = \IS\INTERGER; //FILTER_SANITIZE_NUMBER_INT

        $interger = $this->getVar($name, $filter, $default, $verb, $options);

        //@TODO validate is interger before return
        return (int)$interger;
    }
public function getInt ( $ name , $ default = '' , $ verb = 'get' , $ options = array ( ) ) { $ filter = \ IS \ INTERGER ; //FILTER_SANITIZE_NUMBER_INT $ interger = $ this -> getVar ( $ name , $ filter , $ default , $ verb , $ options ) ; //@TODO validate is interger before return return ( int ) $ interger ; }
Remove all characters except digits, plus and minus sign.

@param type $name
@param type $verb
Remove all characters except digits plus and minus sign .