if(method_exists($entity, 'setUpdatedBy')) { | if(method_exists($entity, 'setUpdatedBy')) { | ||||
$entity->setUpdatedBy($this->getUserSystem()); | $entity->setUpdatedBy($this->getUserSystem()); | ||||
} | } | ||||
if(method_exists($entity, 'setCreadtedBy')) { | |||||
if(method_exists($entity, 'setCreatedBy')) { | |||||
$entity->setCreadtedBy($this->getUserSystem()); | $entity->setCreadtedBy($this->getUserSystem()); | ||||
} | } | ||||
} | } |