Bluz\Controller\Mapper\Rest

Rest

Synopsis

class Rest extends AbstractMapper {
}

Hierarchy

Members

protected

  • $controller — string
  • $crudBluz\Crud\AbstractCrud
  • $data — array
  • $map — array
    [ METHOD => Link { 'module' => 'module', 'controller' => 'controller', 'acl' => 'privilege', 'fields' => ['id', ... ] }, ]
  • $method — string
  • $module — string
  • $params — array
  • $primary — array
  • $relation — string
  • $relationId — string

Methods

protected

Inherited from Bluz\Controller\Mapper\AbstractMapper

protected

public

  • addMap() — Add mapping data
  • delete() — Add mapping for DELETE method
  • get() — Add mapping for GET method
  • options() — Add mapping for OPTIONS method
  • patch() — Add mapping for PATCH method
  • post() — Add mapping for POST method
  • put() — Add mapping for PUT method
  • run() — Run

History