public function with($key, $value = null)
    {
        if (is_array($key)) {
            $this->_data = array_merge($this->_data, $key);
        } else {
            $this->_data[$key] = $value;
        }

        return $this;
    }
public function with($key, $value = null)
    {
        if (is_array($key)) {
            $this->_data = array_merge($this->_data, $key);
        } else {
            $this->_data[$key] = $value;
        }

        return $this;
    }
public function with ( $ key , $ value = null ) { if ( is_array ( $ key ) ) { $ this -> _data = array_merge ( $ this -> _data , $ key ) ; } else { $ this -> _data [ $ key ] = $ value ; } return $ this ; }
Adds data to pass onto the view.

@param string $key   - The key of the data to pass through
@param string $value - The $key's value

@return \Scara\Http\View
Adds data to pass onto the view .