for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace TillKruss\LaravelTactician\Events;
use Illuminate\Queue\SerializesModels;
use League\Tactician\CommandEvents\Event\HasCommand;
use League\Tactician\CommandEvents\Event\CommandEvent;
class CommandReceived implements CommandEvent
{
use HasCommand, SerializesModels;
/**
* Create a new "command received" event object.
*
* @param object $command
*/
public function __construct($command)
$this->command = $command;
}