public function initialize(array $packages)
    {
        $this->registeredClassNames = $this->registerClassFiles($packages);
        $this->reflectionService->buildReflectionData($this->registeredClassNames);

        $rawCustomObjectConfigurations = $this->configurationManager->getConfiguration(ConfigurationManager::CONFIGURATION_TYPE_OBJECTS);

        $configurationBuilder = new ConfigurationBuilder();
        $configurationBuilder->injectReflectionService($this->reflectionService);
        $configurationBuilder->injectLogger($this->logger);

        $this->objectConfigurations = $configurationBuilder->buildObjectConfigurations($this->registeredClassNames, $rawCustomObjectConfigurations);

        $this->setObjects($this->buildObjectsArray());
    }
public function initialize(array $packages)
    {
        $this->registeredClassNames = $this->registerClassFiles($packages);
        $this->reflectionService->buildReflectionData($this->registeredClassNames);

        $rawCustomObjectConfigurations = $this->configurationManager->getConfiguration(ConfigurationManager::CONFIGURATION_TYPE_OBJECTS);

        $configurationBuilder = new ConfigurationBuilder();
        $configurationBuilder->injectReflectionService($this->reflectionService);
        $configurationBuilder->injectLogger($this->logger);

        $this->objectConfigurations = $configurationBuilder->buildObjectConfigurations($this->registeredClassNames, $rawCustomObjectConfigurations);

        $this->setObjects($this->buildObjectsArray());
    }
public function initialize ( array $ packages ) { $ this -> registeredClassNames = $ this -> registerClassFiles ( $ packages ) ; $ this -> reflectionService -> buildReflectionData ( $ this -> registeredClassNames ) ; $ rawCustomObjectConfigurations = $ this -> configurationManager -> getConfiguration ( ConfigurationManager :: CONFIGURATION_TYPE_OBJECTS ) ; $ configurationBuilder = new ConfigurationBuilder ( ) ; $ configurationBuilder -> injectReflectionService ( $ this -> reflectionService ) ; $ configurationBuilder -> injectLogger ( $ this -> logger ) ; $ this -> objectConfigurations = $ configurationBuilder -> buildObjectConfigurations ( $ this -> registeredClassNames , $ rawCustomObjectConfigurations ) ; $ this -> setObjects ( $ this -> buildObjectsArray ( ) ) ; }
Initializes the the object configurations and some other parts of this Object Manager.

@param PackageInterface[] $packages An array of active packages to consider
@return void
Initializes the the object configurations and some other parts of this Object Manager .