/**
* Segements are part of the URL separated by /
* ie: /gummy/bear/?q=hello 'gummy' and 'bear' are segments.
* @param mixed (int | string) - if int, i will pick the index of the . If a string, it will return the k/v pair of the segemnt
* @param int Where to start the segment
* @return mixed
*/
public function getSegment($key = null, $offset = 0)
{
return Http\Request::getSegment($key, $offset, $this->segments);
}