Documentation

RepoWrapperGuzzle
in package
implements RepoWrapperInterface

Description of RepoCurl

Tags
author

zozlak

Table of Contents

Interfaces

RepoWrapperInterface

Properties

$checkModDate  : bool
$client  : Client
$guzzleOpts  : array<string, mixed>
$repos  : array<string|int, Repo>

Methods

__construct()  : mixed
getModificationTimestamp()  : int
getResourceById()  : RepoResourceInterface
getRepo()  : Repo
resolve()  : string

Properties

Methods

__construct()

public __construct([bool $checkModificationDate = false ][, array<string, mixed> $guzzleOpts = [] ]) : mixed
Parameters
$checkModificationDate : bool = false
$guzzleOpts : array<string, mixed> = []

getModificationTimestamp()

public getModificationTimestamp(string $id) : int
Parameters
$id : string
Return values
int

return value of PHP_INT_MAX means the resource's modification date wasn't checked

resolve()

private resolve(string $id) : string
Parameters
$id : string
Return values
string

        
On this page

Search results