protected function _afterEntityUpdate(AnCommandContext $context)
    {
        $this->getSpace()->setEntityState($context->entity, AnDomain::STATE_UPDATED);
    }
protected function _afterEntityUpdate(AnCommandContext $context)
    {
        $this->getSpace()->setEntityState($context->entity, AnDomain::STATE_UPDATED);
    }
protected function _afterEntityUpdate ( AnCommandContext $ context ) { $ this -> getSpace ( ) -> setEntityState ( $ context -> entity , AnDomain :: STATE_UPDATED ) ; }
Set the state after an entity has been updated.

@param AnCommandContext $context Context
Set the state after an entity has been updated .