public function offsetGet($offset)
    {
        return isset($this->pathSegments[$offset]) ? $this->pathSegments[$offset] : null;
    }
public function offsetGet($offset)
    {
        return isset($this->pathSegments[$offset]) ? $this->pathSegments[$offset] : null;
    }
public function offsetGet ( $ offset ) { return isset ( $ this -> pathSegments [ $ offset ] ) ? $ this -> pathSegments [ $ offset ] : null ; }
Retrieve path segment

@link http://php.net/manual/en/arrayaccess.offsetget.php
@param int $offset <p>
The path segment offset to retrieve.
</p>
@return string|null The value of the path segement at the give offset or null if not set.
Retrieve path segment