API / Minn\Http / RequestsNames

RequestsNames final class

Minn\Http\RequestsNames · public/minn/src/Minn/Http/RequestsNames.php · 18 lines

The Requests library's PSR-0 class names (Requests_Exception_HTTP_404, Requests_IDNAEncoder, ...) mapped to the PSR-4 names they stand for.

Uses 1

Constants and properties

privateSEGMENTS = array ( 'http' => 'Http', 'idnaencoder' => 'IdnaEncoder', 'ipv6' => 'Ipv6', 'iri' => 'Iri', 'ssl' => 'Ssl', 'curl' => 'Curl', 'fsockopen' => 'Fsockopen', 'hooker' => 'HookManager', 'casesensitivedictionary' => 'CaseInsensitiveDictionary', 'caseinsensitivedictionary' => 'CaseInsensitiveDictionary', 'filterediterator' => 'FilteredIterator', )

Public

staticmodern(string $legacy): ?string#

The namespaced name for a Requests_* name, or null when it is not one.