PHP Трейт Larabros\Elogram\Http\UrlParserTrait

Автор: Hassan Khan ([email protected])
Показать файл Открыть проект

Открытые методы

Метод Описание
getPath ( Psr\Http\Message\UriInterface $uri ) : string Gets the path from a UriInterface instance after removing the version prefix.
getQueryParams ( Psr\Http\Message\UriInterface $uri, array $exclude = ['sig'], array $params = [] ) : array Gets the query parameters as an array from a UriInterface instance.

Описание методов

getPath() публичный Метод

Gets the path from a UriInterface instance after removing the version prefix.
public getPath ( Psr\Http\Message\UriInterface $uri ) : string
$uri Psr\Http\Message\UriInterface
Результат string

getQueryParams() публичный Метод

Gets the query parameters as an array from a UriInterface instance.
public getQueryParams ( Psr\Http\Message\UriInterface $uri, array $exclude = ['sig'], array $params = [] ) : array
$uri Psr\Http\Message\UriInterface
$exclude array
$params array
Результат array