src/Factory/UriPathFactory.php
public static function make(array $server = null)
    {
        if (empty($server)) {
            $server = $_SERVER;
        }

        if (isset($server['REQUEST_URI'])) {
            return parse_url($server['REQUEST_URI'], PHP_URL_PATH);
        }
    }
public static function make(array $server = null)
    {
        if (empty($server)) {
            $server = $_SERVER;
        }

        if (isset($server['REQUEST_URI'])) {
            return parse_url($server['REQUEST_URI'], PHP_URL_PATH);
        }
    }
public static function make ( array $ server = null ) { if ( empty ( $ server ) ) { $ server = $ _SERVER ; } if ( isset ( $ server [ 'REQUEST_URI' ] ) ) { return parse_url ( $ server [ 'REQUEST_URI' ] , PHP_URL_PATH ) ; } }
Makes a string with Uri path.

@param array $server Optional; null by default or empty array means
global $_SERVER. The source data

@return string|null Returns the Uri path if any, null otherwise
Makes a string with Uri path .