fond-of-oryx/jellyfish-buffer

Spryker Jellyfish Buffer Module.

1.3.0 2022-07-20 11:47 UTC

This package is auto-updated.

Last update: 2022-12-01 00:13:51 UTC


README

license

Installation

composer require fond-of-oryx/jellyfish-buffer

Configuration

Register Plugin in src/Pyz/Zed/JellyfishSalesOrder/JellyfishSalesOrderDependencyProvider.php

    /**
     * @return \FondOfOryx\Zed\JellyfishSalesOrderExtension\Dependency\Plugin\JellyfishOrderBeforeExportPluginInterface[]
     */
    protected function getJellyfishOrderBeforeExportPlugins(): array
    {
        return [
            new JellyfishBufferBeforeOrderExportPlugin(),
        ];
    }

Register console command in src/Pyz/Zed/Console/ConsoleDependencyProvider.php

/**
     * @param \Spryker\Zed\Kernel\Container $container
     *
     * @return \Symfony\Component\Console\Command\Command[]
     */
    protected function getConsoleCommands(Container $container)
    {
        $commands = [
            ...
            new JellyfishBufferConsole(),
        ];