Airship\Engine\Continuum\API::getAll PHP Method

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
    public static function getAll(string $version = self::API_VERSION) : array
    {
        switch ($version) {
            case '1.0.0':
                return ['airship_download' => '/airship_download', 'airship_version' => '/airship_version', 'fetch_keys' => '/keyggdrasil', 'version' => '/version', 'download' => '/download'];
            default:
                throw new InvalidConfig(\trk('errors.hail.invalid_api_version', $version));
        }
    }