private function buildEntityClass()
    {
        foreach ($this->registries as $registry) {
            if ($registry->getKey() === 'identifier') {
                $this->entity->setObjectIdentifier($registry->getValue());
            } else {
                $this->entity->setObjectProperty($registry->getKey(), $registry->getValue());
            }
        }
    }
private function buildEntityClass()
    {
        foreach ($this->registries as $registry) {
            if ($registry->getKey() === 'identifier') {
                $this->entity->setObjectIdentifier($registry->getValue());
            } else {
                $this->entity->setObjectProperty($registry->getKey(), $registry->getValue());
            }
        }
    }
private function buildEntityClass ( ) { foreach ( $ this -> registries as $ registry ) { if ( $ registry -> getKey ( ) === 'identifier' ) { $ this -> entity -> setObjectIdentifier ( $ registry -> getValue ( ) ) ; } else { $ this -> entity -> setObjectProperty ( $ registry -> getKey ( ) , $ registry -> getValue ( ) ) ; } } }
Automatique entity builder from the registries elements.
Automatique entity builder from the registries elements .