protected function buildObjectsArray()
    {
        $objects = [];
        foreach ($this->objectConfigurations as $objectConfiguration) {
            $objectName = $objectConfiguration->getObjectName();
            $objects[$objectName] = [
                'l' => strtolower($objectName),
                's' => $objectConfiguration->getScope(),
                'p' => $objectConfiguration->getPackageKey()
            ];
            if ($objectConfiguration->getClassName() !== $objectName) {
                $objects[$objectName]['c'] = $objectConfiguration->getClassName();
            }
            if ($objectConfiguration->getFactoryObjectName() !== '') {
                $objects[$objectName]['f'] = [
                    $objectConfiguration->getFactoryObjectName(),
                    $objectConfiguration->getFactoryMethodName()
                ];

                $objects[$objectName]['fa'] = [];
                $factoryMethodArguments = $objectConfiguration->getArguments();
                if (count($factoryMethodArguments) > 0) {
                    foreach ($factoryMethodArguments as $index => $argument) {
                        $objects[$objectName]['fa'][$index] = [
                            't' => $argument->getType(),
                            'v' => $argument->getValue()
                        ];
                    }
                }
            }
        }
        $this->configurationCache->set('objects', $objects);
        return $objects;
    }
protected function buildObjectsArray()
    {
        $objects = [];
        foreach ($this->objectConfigurations as $objectConfiguration) {
            $objectName = $objectConfiguration->getObjectName();
            $objects[$objectName] = [
                'l' => strtolower($objectName),
                's' => $objectConfiguration->getScope(),
                'p' => $objectConfiguration->getPackageKey()
            ];
            if ($objectConfiguration->getClassName() !== $objectName) {
                $objects[$objectName]['c'] = $objectConfiguration->getClassName();
            }
            if ($objectConfiguration->getFactoryObjectName() !== '') {
                $objects[$objectName]['f'] = [
                    $objectConfiguration->getFactoryObjectName(),
                    $objectConfiguration->getFactoryMethodName()
                ];

                $objects[$objectName]['fa'] = [];
                $factoryMethodArguments = $objectConfiguration->getArguments();
                if (count($factoryMethodArguments) > 0) {
                    foreach ($factoryMethodArguments as $index => $argument) {
                        $objects[$objectName]['fa'][$index] = [
                            't' => $argument->getType(),
                            'v' => $argument->getValue()
                        ];
                    }
                }
            }
        }
        $this->configurationCache->set('objects', $objects);
        return $objects;
    }
protected function buildObjectsArray ( ) { $ objects = [ ] ; foreach ( $ this -> objectConfigurations as $ objectConfiguration ) { $ objectName = $ objectConfiguration -> getObjectName ( ) ; $ objects [ $ objectName ] = [ 'l' => strtolower ( $ objectName ) , 's' => $ objectConfiguration -> getScope ( ) , 'p' => $ objectConfiguration -> getPackageKey ( ) ] ; if ( $ objectConfiguration -> getClassName ( ) !== $ objectName ) { $ objects [ $ objectName ] [ 'c' ] = $ objectConfiguration -> getClassName ( ) ; } if ( $ objectConfiguration -> getFactoryObjectName ( ) !== '' ) { $ objects [ $ objectName ] [ 'f' ] = [ $ objectConfiguration -> getFactoryObjectName ( ) , $ objectConfiguration -> getFactoryMethodName ( ) ] ; $ objects [ $ objectName ] [ 'fa' ] = [ ] ; $ factoryMethodArguments = $ objectConfiguration -> getArguments ( ) ; if ( count ( $ factoryMethodArguments ) > 0 ) { foreach ( $ factoryMethodArguments as $ index => $ argument ) { $ objects [ $ objectName ] [ 'fa' ] [ $ index ] = [ 't' => $ argument -> getType ( ) , 'v' => $ argument -> getValue ( ) ] ; } } } } $ this -> configurationCache -> set ( 'objects' , $ objects ) ; return $ objects ; }
Builds the  objects array which contains information about the registered objects,
their scope, class, built method etc.

@return array
Builds the objects array which contains information about the registered objects their scope class built method etc .