private function addPropertiesAndConstantsForContainer() {
        $this->addPropertiesAndConstantsFromReflection($this->containerClassReflection);

        foreach ($this->compositeClassReflectionArray as $compositeClassReflection) {
            $paramName = $this->getComponentName($compositeClassReflection);
            $newProperty = new PropertyGenerator($paramName, null, PropertyGenerator::FLAG_PRIVATE);
            $this->generator->addPropertyFromGenerator($newProperty);
        }
    }
private function addPropertiesAndConstantsForContainer() {
        $this->addPropertiesAndConstantsFromReflection($this->containerClassReflection);

        foreach ($this->compositeClassReflectionArray as $compositeClassReflection) {
            $paramName = $this->getComponentName($compositeClassReflection);
            $newProperty = new PropertyGenerator($paramName, null, PropertyGenerator::FLAG_PRIVATE);
            $this->generator->addPropertyFromGenerator($newProperty);
        }
    }
private function addPropertiesAndConstantsForContainer ( ) { $ this -> addPropertiesAndConstantsFromReflection ( $ this -> containerClassReflection ) ; foreach ( $ this -> compositeClassReflectionArray as $ compositeClassReflection ) { $ paramName = $ this -> getComponentName ( $ compositeClassReflection ) ; $ newProperty = new PropertyGenerator ( $ paramName , null , PropertyGenerator :: FLAG_PRIVATE ) ; $ this -> generator -> addPropertyFromGenerator ( $ newProperty ) ; } }
Adds the properties and constants from the decorating class to the
class being weaved.
@internal param $originalSourceClass
Adds the properties and constants from the decorating class to the class being weaved .