Does my input helper class look good? I'm new to OOP PHP and I created a simple input helper class. And was wondering if it's good? Are my dependencies good?

Also the reason I'm not throwing an exception with the get method is that I will mainly use this class for form validation purposes.

I'll take any suggestion for improvement!

class Input {
    private $_get,
            $_post;

    public function __construct(Array $get, Array $post) {
        $this-&gt;_get  = $get;
        $this-&gt;_post = $post;
    }

    public function exists($type = 'POST') {
        switch($type) {
            case 'POST':
                return (!empty($this-&gt;_post)) ? true : false;
            break;
            case 'GET':
                return (!empty($this-&gt;_get)) ? true : false;
            break;
            default:
                return false;
            break;
        }
    }

    public function get($input, $source = 'POST') {
        if($source == 'POST' &amp;&amp; isset($this-&gt;_post[$input])) {
            return $this-&gt;_post[$input];
        } elseif($source == 'GET' &amp;&amp; isset($this-&gt;_get[$input])) {
            return $this-&gt;_get[$input];
        }
        return false;
    }
}


I figured I could made my code shorter:

class Input {
    private $_source;

    public function __construct(Array $source) {
        $this-&gt;_source = $source;
    }

    public function exists() {
        return !empty($this-&gt;_source);
    }

    public function get($input) {
        return (isset($this-&gt;_source[$input])) ? $this-&gt;_source[$input] : false;
    }
}
In Java and C# you can simply put 

return !empty($this-&gt;_source);


and

return isset($this-&gt;_source[$input]);


since the evaluation of that is a boolean by itself and thus there is no need for the additional ternary operation. I would suspect that this is the same in PHP.