for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace keeko\core\event;
use keeko\core\model\Action;
/**
*/
class ActionEvent {
const POST_CREATE = 'core.action.post_create';
const POST_DELETE = 'core.action.post_delete';
const POST_GROUP_ADD = 'core.action.post_group_add';
const POST_GROUP_REMOVE = 'core.action.post_group_add';
const POST_GROUP_UPDATE = 'core.action.post_group_update';
const POST_MODULE_UPDATE = 'core.action.post_module_update';
const POST_SAVE = 'core.action.post_save';
const POST_UPDATE = 'core.action.post_update';
const PRE_CREATE = 'core.action.pre_create';
const PRE_DELETE = 'core.action.pre_delete';
const PRE_GROUP_ADD = 'core.action.pre_group_add';
const PRE_GROUP_REMOVE = 'core.action.pre_group_add';
const PRE_GROUP_UPDATE = 'core.action.pre_group_update';
const PRE_MODULE_UPDATE = 'core.action.pre_module_update';
const PRE_SAVE = 'core.action.pre_save';
const PRE_UPDATE = 'core.action.pre_update';
* @var keeko.core.model
protected $action;
* @param Action $action
public function __construct(Action $action) {
$action
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$this->action = action;
}
* @return Action
public function getAction() {
return $this->action;
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.