11<?php
22declare (strict_types=1 );
33
4- namespace SetBased \ Abc \ExceptionHandler \Command ;
4+ namespace Plaisio \ExceptionHandler \Command ;
55
66use Composer \IO \ConsoleIO ;
7- use SetBased \ Abc \ Console \Style \AbcStyle ;
8- use SetBased \ Abc \ ExceptionHandler \Helper \AbcXmlHelper ;
9- use SetBased \ Abc \ ExceptionHandler \Helper \ExceptionHandlerCodeGenerator ;
10- use SetBased \ Abc \ ExceptionHandler \Helper \ExceptionHandlerMetadataExtractor ;
7+ use Plaisio \ Console \Style \PlaisioStyle ;
8+ use Plaisio \ ExceptionHandler \Helper \ExceptionHandlerCodeGenerator ;
9+ use Plaisio \ ExceptionHandler \Helper \ExceptionHandlerMetadataExtractor ;
10+ use Plaisio \ ExceptionHandler \Helper \PlaisioXmlHelper ;
1111use Symfony \Component \Console \Command \Command ;
1212use Symfony \Component \Console \Formatter \OutputFormatter ;
1313use Symfony \Component \Console \Input \InputArgument ;
@@ -30,7 +30,7 @@ class GenerateExceptionHandlerCommand extends Command
3030 /**
3131 * The output decorator.
3232 *
33- * @var AbcStyle
33+ * @var PlaisioStyle
3434 */
3535 private $ io ;
3636
@@ -40,7 +40,7 @@ class GenerateExceptionHandlerCommand extends Command
4040 */
4141 protected function configure ()
4242 {
43- $ this ->setName ('abc :generate-core-exception-handler ' )
43+ $ this ->setName ('plaisio :generate-core-exception-handler ' )
4444 ->setDescription ('Generates the code for the core \'s exception handler ' )
4545 ->addArgument ('config file ' , InputArgument::OPTIONAL , 'The abc.xml configuration file ' , 'abc.xml ' );
4646 }
@@ -51,13 +51,13 @@ protected function configure()
5151 */
5252 protected function execute (InputInterface $ input , OutputInterface $ output )
5353 {
54- $ this ->io = new AbcStyle ($ input , $ output );
54+ $ this ->io = new PlaisioStyle ($ input , $ output );
5555 $ this ->consoleIo = new ConsoleIO ($ input , $ output , $ this ->getHelperSet ());
5656
5757 $ metadataExtractor = new ExceptionHandlerMetadataExtractor ($ this ->io , $ input ->getArgument ('config file ' ));
5858 $ handlers = $ metadataExtractor ->extractExceptionAgents ();
5959
60- $ xmlHelper = new AbcXmlHelper ($ input ->getArgument ('config file ' ));
60+ $ xmlHelper = new PlaisioXmlHelper ($ input ->getArgument ('config file ' ));
6161 [$ class , $ path ] = $ xmlHelper ->extractExceptionHandlerClass ();
6262
6363 $ generator = new ExceptionHandlerCodeGenerator ();
0 commit comments