protected function syncForeignKeyAttributes()
    {
        $attributes = $this->aggregate->getForeignKeyAttributes();

        foreach ($attributes as $key => $value) {
            $this->aggregate->setEntityAttribute($key, $value);
        }
    }
protected function syncForeignKeyAttributes()
    {
        $attributes = $this->aggregate->getForeignKeyAttributes();

        foreach ($attributes as $key => $value) {
            $this->aggregate->setEntityAttribute($key, $value);
        }
    }
protected function syncForeignKeyAttributes ( ) { $ attributes = $ this -> aggregate -> getForeignKeyAttributes ( ) ; foreach ( $ attributes as $ key => $ value ) { $ this -> aggregate -> setEntityAttribute ( $ key , $ value ) ; } }
Update attributes on actual entity.

@param array $attributes

@return void
Update attributes on actual entity .