Returns the parameter value converted to integer.
@api
string $key The parameter key:
mixed $default The default value if the parameter key does not exist:
boolean $deep If true, a path like foo[bar] will find deeper items:
integer The filtered value
public function getInt($key, $default = 0, $deep = false) {
return (int) $this
->get($key, $default, $deep);
}