よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
/** * Remove the user from the database */ public function remove() { if ($this->element->getKeepActive()) { return; } $this->element->setDeletedAt(new \DateTime()); $this->doctrine->getManager()->persist($this->element); }