File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ use ErrorHeroModule\ErrorHeroModule\Middleware\Routed\Preview\ErrorPreviewAction
1212use ErrorHeroModule\Handler\Logging;
1313use ErrorHeroModule\Handler\LoggingFactory;
1414use ErrorHeroModule\Command\BaseLoggingCommand;
15+ use ErrorHeroModule\Command\Preview\ErrorPreviewConsoleCommand;
1516use Laminas\Db\Adapter\AdapterInterface;
1617use Laminas\Log;
1718use Laminas\Log\LoggerAbstractServiceFactory;
@@ -159,12 +160,20 @@ json
159160 ErrorPreviewAction::class => InvokableFactory::class,
160161
161162 Logging::class => LoggingFactory::class,
163+
164+ ErrorPreviewConsoleCommand::class => InvokableFactory::class,
162165 ],
163166 'initializers' => [
164167 BaseLoggingCommandInitializer::class,
165168 ],
166169 ],
167170
171+ 'laminas-cli' => [
172+ 'commands' => [
173+ 'errorheromodule:preview' => ErrorPreviewConsoleCommand::class,
174+ ],
175+ ],
176+
168177 'templates' =>[
169178 'paths' => [
170179 'error-hero-module' => [
You can’t perform that action at this time.
0 commit comments