protected function setId(Identifier $id, Model $model): void
    {
        $prop = new ReflectionProperty(get_class($model), 'id');
        $prop->setAccessible(true);
        $prop->setValue($model, $id);
    }
protected function setId(Identifier $id, Model $model): void
    {
        $prop = new ReflectionProperty(get_class($model), 'id');
        $prop->setAccessible(true);
        $prop->setValue($model, $id);
    }
protected function setId ( Identifier $ id , Model $ model ) : void { $ prop = new ReflectionProperty ( get_class ( $ model ) , 'id' ) ; $ prop -> setAccessible ( true ) ; $ prop -> setValue ( $ model , $ id ) ; }
Set the protected id value.

@param Identifier $id
@param Model      $model
Set the protected id value .