fond-of-oryx/jellyfish-buffer

Spryker Jellyfish Buffer 模块。

2.0.0 2023-01-24 12:59 UTC

This package is auto-updated.

Last update: 2024-08-27 12:31:53 UTC


README

license

安装

composer require fond-of-oryx/jellyfish-buffer

配置

src/Pyz/Zed/JellyfishSalesOrder/JellyfishSalesOrderDependencyProvider.php中注册插件

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

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(),
        ];