Http.php
public static function getUriSegment(int $segment)
    {
        $segments = self::getUriSegments();
        return isset($segments[$segment]) ? $segments[$segment] : null;
    }
public static function getUriSegment(int $segment)
    {
        $segments = self::getUriSegments();
        return isset($segments[$segment]) ? $segments[$segment] : null;
    }
public static function getUriSegment ( int $ segment ) { $ segments = self :: getUriSegments ( ) ; return isset ( $ segments [ $ segment ] ) ? $ segments [ $ segment ] : null ; }
Get Uri Segment

$uri_segment = Http::getUriSegment(1);

@access  public
@param int $segment segment
@return string
Get Uri Segment