private function validateCoreModuleNames()
    {
        if (!empty($this->coreModules)) {
            $coreBag = $this->getCoreBag();

            if (!$coreBag->hasAllCoreModules()) {
                throw new LogicException(sprintf(
                    'The framework can not start without defined core modules: %s', implode(', ', $coreBag->getMissingCoreModules())
                ));
            }
        }
    }
private function validateCoreModuleNames()
    {
        if (!empty($this->coreModules)) {
            $coreBag = $this->getCoreBag();

            if (!$coreBag->hasAllCoreModules()) {
                throw new LogicException(sprintf(
                    'The framework can not start without defined core modules: %s', implode(', ', $coreBag->getMissingCoreModules())
                ));
            }
        }
    }
private function validateCoreModuleNames ( ) { if ( ! empty ( $ this -> coreModules ) ) { $ coreBag = $ this -> getCoreBag ( ) ; if ( ! $ coreBag -> hasAllCoreModules ( ) ) { throw new LogicException ( sprintf ( 'The framework can not start without defined core modules: %s' , implode ( ', ' , $ coreBag -> getMissingCoreModules ( ) ) ) ) ; } } }
Validates core modules on demand

@throws \LogicException On validation failure
@return void
Validates core modules on demand