* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0 */ namespace PrestaShop\Module\PrestashopCheckout\CommandBus; use League\Tactician\CommandBus; class TacticianCommandBusAdapter implements CommandBusInterface { /** * @var CommandBus */ private $bus; /** * @param CommandBus $bus */ public function __construct(CommandBus $bus) { $this->bus = $bus; } /** * {@inheritdoc} */ public function handle($command) { return $this->bus->handle($command); } }