PPI\Framework\Console\Command\ModuleCreateCommand::checkEnabledRouters PHP Метод

checkEnabledRouters() приватный Метод

private checkEnabledRouters ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    private function checkEnabledRouters(InputInterface $input, OutputInterface $output)
    {
        // Aura Check
        if ($this->routingEngine == self::ROUTING_ENGINE_AURA && !class_exists('\\Aura\\Router\\Router')) {
            $output->writeln("<comment>Aura Router doesn't appear to be loaded. Run: <info>composer require ppi/aura-router</info></comment>");
        }
        // Laravel check
        if ($this->routingEngine == self::ROUTING_ENGINE_LARAVEL && !class_exists('\\PPI\\LaravelRouting\\LaravelRouter')) {
            $output->writeln("<comment>Laravel Router doesn't appear to be loaded. Run: <info>composer require ppi/laravel-router</info></comment>");
        }
        if ($this->routingEngine == self::ROUTING_ENGINE_FASTROUTE && !class_exists('\\PPI\\FastRoute\\Wrapper\\FastRouteWrapper')) {
            $output->writeln("<comment>FastRoute Router doesn't appear to be loaded. Run: <info>composer require ppi/fast-route</info></comment>");
        }
    }