src/Samurai/Component/Request/HttpRequest.php
public function getAsBool($key, $default = 0)
    {
        $value = $this->get($key, $default);
        if ($value === 'false') return false;

        return (bool) $value;
    }
public function getAsBool($key, $default = 0)
    {
        $value = $this->get($key, $default);
        if ($value === 'false') return false;

        return (bool) $value;
    }
public function getAsBool ( $ key , $ default = 0 ) { $ value = $ this -> get ( $ key , $ default ) ; if ( $ value === 'false' ) return false ; return ( bool ) $ value ; }
get as bool

@param   string  $key
@param   mixed   $default
@return  int
get as bool