fond-of-oryx/jellyfish-buffer

Spryker Jellyfish Buffer Module.

2.0.0 2023-01-24 12:59 UTC

This package is auto-updated.

Last update: 2024-10-27 12:51:57 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(),
        ];