fond-of-oryx / jellyfish-buffer
Spryker Jellyfish Buffer Module.
2.0.0
2023-01-24 12:59 UTC
Requires
- php: >=8.0
- fond-of-oryx/jellyfish-sales-order: ^1.0.0 || ^2.0.0
- fond-of-oryx/jellyfish-sales-order-extension: ^1.0.0 || ^2.0.0
- spryker/guzzle: ^2.2.0
Requires (Dev)
README
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(),
];