Documentation

CrudService extends Service
in package

Class for custom crud service.

Tags
author

Dodonov A.A.

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
initCommonRoutes()  : void
Method inits common service's routes
initCrudRoutes()  : void
Method inits common servoce's routes
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

initCommonRoutes()

Method inits common service's routes

protected initCommonRoutes() : void
Return values
void

initCrudRoutes()

Method inits common servoce's routes

protected initCrudRoutes() : void
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