As the name says, it is made to be basic and direct.
ExampleController Class - Extends Controller and implements ControllerInterface, all controller classes extend from this
Basicis\Controller\ControllerInterface, Basicis\Http\Server\RequestHandlerInterface
Basicis\Controller\Controller
| Name | Description | |——|————-|
Name | Description |
---|---|
__invoke | Function handle |
Handles a request and produces a response. | |
all | Function all |
Find all a model items of the specified class | |
create | Function create |
Creates a model of the specified class | |
delete | Function delete |
Delete a model of the specified class | |
extractUniqueColumns | Function extractUniqueColumns |
Extract Unique Columns of model class and return these as array | |
find | Function find |
Find one a model item of the specified class | |
getModelByAnnotation | Function getModelByAnnotation |
Get annotations model class | |
handle | Function handle |
Default method | |
index | Function index |
Default method | |
update | Function update |
Update a model of the specified class |