Documentation

ServiceBase
in package

Base service class

It bounds together transport, request parameters fetcher, logic, authorization and model

Tags
author

Dodonov A.A.

psalm-suppress

PropertyNotSetInConstructor

Table of Contents

$serviceTransport  : TransportInterface
Service's ransport
__construct()  : mixed
Constructor
getTransport()  : TransportInterface
Method returns transport
run()  : void
Running $this->serviceTransport run loop
setTransport()  : void
Method sets transport
initCustomRoutes()  : void
Method inits custom routes if necessary
fetchActions()  : void
Method fetches actions if they are existing

Properties

Methods

run()

Running $this->serviceTransport run loop

public run() : void
Return values
void

setTransport()

Method sets transport

public setTransport(Transport $transport) : void
Parameters
$transport : Transport
Return values
void

initCustomRoutes()

Method inits custom routes if necessary

protected initCustomRoutes() : void
Return values
void

fetchActions()

Method fetches actions if they are existing

private fetchActions() : void
Return values
void

Search results

    Яндекс.Метрика