public function highlightCommand($in): void
    {
        // $file = $this->app->getRootPath() . '/examples/routes.php';
        $file = $this->app->getRootPath() . '/src/Utils/Show.php';
        $src  = \file_get_contents($file);

        $code = Highlighter::create()->highlight($src, $in->getBoolOpt('ln'));

        $this->output->writeRaw($code);
    }
public function highlightCommand($in): void
    {
        // $file = $this->app->getRootPath() . '/examples/routes.php';
        $file = $this->app->getRootPath() . '/src/Utils/Show.php';
        $src  = \file_get_contents($file);

        $code = Highlighter::create()->highlight($src, $in->getBoolOpt('ln'));

        $this->output->writeRaw($code);
    }
public function highlightCommand ( $ in ) : void { // $file = $this->app->getRootPath() . '/examples/routes.php'; $ file = $ this -> app -> getRootPath ( ) . '/src/Utils/Show.php' ; $ src = \ file_get_contents ( $ file ) ; $ code = Highlighter :: create ( ) -> highlight ( $ src , $ in -> getBoolOpt ( 'ln' ) ) ; $ this -> output -> writeRaw ( $ code ) ; }
a example for highlight code
@options
--ln    Display with line number
@param Input $in
a example for highlight code