FeedLoader
in package
FinalYes
Загрузка фида по URL: адрес проверяется до сети, транспорт передаёт вызывающий код.
Table of Contents
Properties
- $guard : SourceGuard
- $hosts : array<string|int, mixed>
- $transport : Closure
Methods
- __construct() : mixed
- load() : string
Properties
$guard read-only
private
SourceGuard
$guard
$hosts read-only
private
array<string|int, mixed>
$hosts
$transport read-only
private
Closure
$transport
Methods
__construct()
public
__construct(SourceGuard $guard, array<int, string> $hosts, callable(string): string $transport) : mixed
Parameters
- $guard : SourceGuard
- $hosts : array<int, string>
- $transport : callable(string): string
load()
public
load(string $url) : string
Parameters
- $url : string