\Composer\UtilNoProxyPattern

Tests URLs against no_proxy patterns.

Summary

Methods
Properties
Constants
__construct()
test()
No public properties found
No constants found
No protected methods found
$rules
N/A
inCIDRBlock()
No private properties found
N/A

Properties

$rules

$rules : array<mixed,string>

Type

array<mixed,string>

Methods

__construct()

__construct(string  $pattern) 

Parameters

string $pattern

no_proxy pattern

test()

test(string  $url) : true

Test a URL against the stored pattern.

Parameters

string $url

Returns

true —

if the URL matches one of the rules.