Documentation

ApiVersionManager
in package

This class is used to take track of the Api Version used during a request.

This class is registered as a singleton in the Athomos\System\ServiceProvider

Table of Contents

$currentApiVersion  : string
__construct()  : mixed
checkCurrentAgainstArray()  : bool
setCurrentApiVersion()  : ApiVersionManager

Properties

Methods

checkCurrentAgainstArray()

public checkCurrentAgainstArray(array<string|int, mixed> $versions) : bool
Parameters
$versions : array<string|int, mixed>
Return values
bool

Search results