EVOLUTION-MANAGER
Edit File: GenericEvent.php
<?php namespace BotMan\BotMan\Drivers\Events; use BotMan\BotMan\Interfaces\DriverEventInterface; class GenericEvent implements DriverEventInterface { protected $payload; protected $name; /** * @param $payload */ public function __construct($payload) { $this->payload = $payload; } /** * Return the event name to match. * * @return string */ public function getName() { return $this->name; } /** * Return the event payload. * * @return mixed */ public function getPayload() { return $this->payload; } /** * @param string $name */ public function setName($name) { $this->name = $name; } }