class BaseManager extends Module

Base manager class

Managers provide a service layer in front of models. Managers implement domain specific logic, checks and initialization that would normally live in multiple controllers.

Methods

object
save(object $obj)

Save handler, because DRY

getBuilder()

No description

Details

at line 25
object save(object $obj)

Save handler, because DRY

Parameters

object $obj Model to be saved

Return Value

object Model

Exceptions

Exception Json encoded string of validation errors

at line 59
getBuilder()