/** * Enforces types... * * @param ConsumerLike $source * @param RequestLike $request */ public function __construct(ConsumerLike $source, RequestLike $request = null) { parent::__construct($source, $request); }
/** * @param \Kisma\Core\Events\SeedEvent $event * * @return string */ public static function generateEventId($event) { return hash('sha256', $event->getSource()->getId() . getmypid() . microtime(true)) . '.' . self::$_lastEventId++; }