PHP Class Airship\Engine\Continuum\API

Continuum - versioned API schema
Mostrar archivo Open project: paragonie/airship Class Usage Examples

Public Methods

Method Description
get ( string $key, string $version = self::API_VERSION ) : string Get an API endpoint
getAll ( string $version = self::API_VERSION ) : array Get the entire API for a specific version

Method Details

get() public static method

Get an API endpoint
public static get ( string $key, string $version = self::API_VERSION ) : string
$key string
$version string
return string

getAll() public static method

Get the entire API for a specific version
public static getAll ( string $version = self::API_VERSION ) : array
$version string
return array