Properties

$remote_whitelist

$remote_whitelist : 

Type

Methods

providerValidRemoteSource()

providerValidRemoteSource() : array

Provider for valid remote sources.

Returns

array

providerInvalidRemoteSource()

providerInvalidRemoteSource() : array

Provider for invalid remote sources.

Returns

array

testAllowRemoteDownloadDefaultPatternValid()

testAllowRemoteDownloadDefaultPatternValid(  $source) : void

Test

Parameters

$source

testAllowRemoteDownloadDefaultPatternInvalid()

testAllowRemoteDownloadDefaultPatternInvalid(  $source) : void

Test

Parameters

$source

providerHostnameMatch()

providerHostnameMatch() : array

Provider for hostname matching the whitelist.

Returns

array

testRemoteHostWhitelistMatch()

testRemoteHostWhitelistMatch(string  $hostname) : void

Test

Parameters

string $hostname

matches the whitelist

providerHostnameNoMatch()

providerHostnameNoMatch() : array

Provider for hostname not matching the whitelist.

Returns

array

testRemoteHostWhitelistNoMatch()

testRemoteHostWhitelistNoMatch(string  $hostname) : void

Test

Parameters

string $hostname

not matching the whitelist