RepoWrapperRepoInterface
in package
implements
RepoWrapperInterface
Description of RepoWrapperRepoInterface
Tags
Table of Contents
Interfaces
Properties
- $checkModDate : bool
- $repo : RepoInterface
Methods
Properties
$checkModDate
private
bool
$checkModDate
$repo
private
RepoInterface
$repo
Methods
__construct()
public
__construct(RepoInterface $repo[, bool $checkModificationDate = false ]) : mixed
Parameters
- $repo : RepoInterface
- $checkModificationDate : bool = false
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
getResourceById()
public
getResourceById(string $id[, SearchConfig|null $config = null ]) : RepoResourceInterface
Parameters
- $id : string
- $config : SearchConfig|null = null