src/Core/Console/CoreConsole.php
protected function prepareExecute()
    {
        if (class_exists(ComposerInformation::class)) {
            $this->version = ComposerInformation::getInstalledVersion('windwalker/core');
        }

        if ($this->getRootCommand()->getOption('n')) {
            IOFactory::getIO()->setInput(new NullInput());
        }
    }
protected function prepareExecute()
    {
        if (class_exists(ComposerInformation::class)) {
            $this->version = ComposerInformation::getInstalledVersion('windwalker/core');
        }

        if ($this->getRootCommand()->getOption('n')) {
            IOFactory::getIO()->setInput(new NullInput());
        }
    }
protected function prepareExecute ( ) { if ( class_exists ( ComposerInformation :: class ) ) { $ this -> version = ComposerInformation :: getInstalledVersion ( 'windwalker/core' ) ; } if ( $ this -> getRootCommand ( ) -> getOption ( 'n' ) ) { IOFactory :: getIO ( ) -> setInput ( new NullInput ( ) ) ; } }
Prepare execute hook.

@return  void
Prepare execute hook .