Properties

$ServiceClassName

$ServiceClassName : string

Service class name.

Type

string

Methods

__construct()

__construct(string  $ServiceClassName = 'CRUDService') 

Constructor.

Parameters

string $ServiceClassName
  • Class name to be tested.

test_service_constructor()

test_service_constructor() 

Testing CRUDService constructor.

test_service_constructor_with_security_provider_string()

test_service_constructor_with_security_provider_string() 

Testing CRUDService constructor.

test_service_constructor_with_security_provider_object()

test_service_constructor_with_security_provider_object() 

Testing CRUDService constructor.

test_routes()

test_routes() 

Testing CRUDService route processor.

get_service_settings()

get_service_settings() : \Service

Method returns service settings.

Returns

\Service

settings.

check_route()

check_route(string  $Route, string  $Method, string  $RequestMethod = 'GET') 

Method checks route and method bindings.

Parameters

string $Route
  • Route to be checked.
string $Method
  • Method to be bound with route.
string $RequestMethod
  • HTTP request method.

get_transport()

get_transport(string  $Type = GET_STRING) : string

Method returns transport.

Parameters

string $Type
  • Type of return value;

Returns

string —

Transport.