for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace yiicod\listener\components\events;
use yii\base\Event;
use yii\base\BaseObject;
class DataEvent extends Event
{
/**
* Owner object
*
* @var BaseObject
*/
public $owner = null;
* Additional data for event
* @var []
public $params = [];
* Constructor.
* @param mixed $owner the object associated with this event
* @param array $config name-value pairs that will be used to initialize the object properties
public function __construct($owner, $config = [])
$this->owner = $owner;
parent::__construct($config);
}