PHP Interface Imbo\EventManager\EventInterface

Author: Christer Edvartsen ([email protected])
Datei anzeigen Open project: imbo/imbo Interface Usage Examples

Public Methods

Method Description
getAccessControl ( ) : Imbo\Auth\AccessControl\Adapter\AdapterInterface Get the access control adapter
getConfig ( ) : array Get the Imbo configuration
getDatabase ( ) : Imbo\Database\DatabaseInterface Get the database adapter
getHandler ( ) : string Get the handler for the current event
getManager ( ) : EventManager Get the event manager that triggered the event
getRequest ( ) : Request Get the request parameter
getResponse ( ) : Response Get the response parameter
getStorage ( ) : Imbo\Storage\StorageInterface Get the storage adapter

Method Details

getAccessControl() public method

Get the access control adapter
public getAccessControl ( ) : Imbo\Auth\AccessControl\Adapter\AdapterInterface
return Imbo\Auth\AccessControl\Adapter\AdapterInterface

getConfig() public method

Get the Imbo configuration
public getConfig ( ) : array
return array

getDatabase() public method

Get the database adapter
public getDatabase ( ) : Imbo\Database\DatabaseInterface
return Imbo\Database\DatabaseInterface

getHandler() public method

Get the handler for the current event
public getHandler ( ) : string
return string

getManager() public method

Get the event manager that triggered the event
public getManager ( ) : EventManager
return EventManager

getRequest() public method

Get the request parameter
public getRequest ( ) : Request
return Imbo\Http\Request\Request

getResponse() public method

Get the response parameter
public getResponse ( ) : Response
return Imbo\Http\Response\Response

getStorage() public method

Get the storage adapter
public getStorage ( ) : Imbo\Storage\StorageInterface
return Imbo\Storage\StorageInterface