Sulu\Bundle\GeneratorBundle\Command\GenerateBundleCommand::checkAutoloader PHP Метод

checkAutoloader() защищенный Метод

protected checkAutoloader ( Symfony\Component\Console\Output\OutputInterface $output, $namespace, $bundle, $dir )
$output Symfony\Component\Console\Output\OutputInterface
    protected function checkAutoloader(OutputInterface $output, $namespace, $bundle, $dir)
    {
        $output->write('Checking that the bundle is autoloaded: ');
        if (!class_exists($namespace . '\\' . $bundle)) {
            return ['- Edit the <comment>composer.json</comment> file and register the bundle', '  namespace in the "autoload" section:', ''];
        }
    }