JRA, PHP cAPI interface
  • Namespace
  • Class
  • Tree

Namespaces

  • JRA
    • Abstracts
    • Commands
      • Invokers
      • Methods
        • Content
        • Token
        • User
      • Routes
    • ComposerHandler
    • Config
      • Helper
    • Exceptions
    • Facades
    • Factories
    • Interfaces
    • Objects
      • Response
        • Data
    • Responsibilities
      • Handlers
      • Responsible
        • Login
        • Logout

Classes

  • ARSAnnatech
  • Authenticate
  • Server
  • Version

Class Server

Namespace: JRA\Config
Located at Config/Server.php

Methods summary

public
# __construct( integer $pVersion )

Server constructor.

Server constructor.

Parameters

$pVersion
The version of the used cAPI.
public
# setUrl( string $pUrl )

Sets the url. Starts the parsing of the url. Starts the validation of the url. Starts the generation of the url.

Sets the url. Starts the parsing of the url. Starts the validation of the url. Starts the generation of the url.

Parameters

$pUrl
The url which should be set.

Throws

JRA\Exceptions\ServerConfigException
Throws an exception if the url is already defined.
public string
# getRestAPIUrl( )

Returns the base url which is used for all further requests.

Returns the base url which is used for all further requests.

Returns

string
The base url for cAPI calls.

Throws

JRA\Exceptions\ServerConfigException
Throws an exception if the url is undefined.
JRA, PHP cAPI interface API documentation generated by ApiGen