trait ControllerTrait (View source)

Adds required methods to actual REST controllers.

Properties

Application $app
Request $request

Methods

getCategory()

No description

array
getObjects()

No description

bool
canEditAttributeKey(int $akID, ObjectInterface $object)

No description

ErrorList|null
saveAttributes()

No description

getAttribute()

No description

Details

abstract CategoryInterface getCategory()

No description

Return Value

CategoryInterface

abstract array getObjects()

No description

Return Value

array

abstract bool canEditAttributeKey(int $akID, ObjectInterface $object)

No description

Parameters

int $akID
ObjectInterface $object

Return Value

bool

ErrorList|null saveAttributes()

No description

Return Value

ErrorList|null

getAttribute()

No description