for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Jared King <[email protected]>
*
* @see http://jaredtking.com
* @copyright 2015 Jared King
* @license MIT
*/
namespace Pulsar\Event;
use Pulsar\Model;
use Symfony\Contracts\EventDispatcher\Event;
abstract class AbstractEvent extends Event
{
* @var Model
protected $model;
public function __construct(Model $model)
$this->model = $model;
}
* Gets the model for this event.
public function getModel(): Model
return $this->model;