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\Api;
/**
*/
class ApiEvent {
const POST_ACTION_UPDATE = 'core.api.post_action_update';
const POST_CREATE = 'core.api.post_create';
const POST_DELETE = 'core.api.post_delete';
const POST_SAVE = 'core.api.post_save';
const POST_UPDATE = 'core.api.post_update';
const PRE_ACTION_UPDATE = 'core.api.pre_action_update';
const PRE_CREATE = 'core.api.pre_create';
const PRE_DELETE = 'core.api.pre_delete';
const PRE_SAVE = 'core.api.pre_save';
const PRE_UPDATE = 'core.api.pre_update';
* @var keeko.core.model
protected $api;
* @param Api $api
public function __construct(Api $api) {
$api
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$this->api = api;
}
* @return Api
public function getApi() {
return $this->api;
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.