/** * 주어진 entity 정보를 저장소에 추가한다. * * @param MemberEntityInterface $entity 삽입할 정보 * * @return MemberEntityInterface */ public function insert($entity) { $data = $entity->getAttributes(); if (array_has($data, 'password')) { $entity->passwordUpdatedAt = $this->getCurrentTime(); } return $this->traitInsert($entity); }