Composer API
Class

Composer\Util\NoProxyPattern

class NoProxyPattern

Tests URLs against no_proxy patterns.

Methods

__construct(string $pattern)

true test(string $url)

Test a URL against the stored pattern.

Details

at line 28
public __construct(string $pattern)

Parameters

string $pattern no_proxy pattern

at line 40
public true test(string $url)

Test a URL against the stored pattern.

Parameters

string $url

Return Value

true if the URL matches one of the rules.