private function buildEntity()
    {
        $classname = $this->classname;
        if (class_exists($classname) && $this->isRegistryEntity(new $classname())) {
            $this->entity = new $classname();
            $this->buildEntityClass();
        } else {
            $this->entity = new \stdClass();
            $this->buildStdClass();
        }
    }
private function buildEntity()
    {
        $classname = $this->classname;
        if (class_exists($classname) && $this->isRegistryEntity(new $classname())) {
            $this->entity = new $classname();
            $this->buildEntityClass();
        } else {
            $this->entity = new \stdClass();
            $this->buildStdClass();
        }
    }
private function buildEntity ( ) { $ classname = $ this -> classname ; if ( class_exists ( $ classname ) && $ this -> isRegistryEntity ( new $ classname ( ) ) ) { $ this -> entity = new $ classname ( ) ; $ this -> buildEntityClass ( ) ; } else { $ this -> entity = new \ stdClass ( ) ; $ this -> buildStdClass ( ) ; } }
build the entity from the registry.
build the entity from the registry .