/** * {@inheritDoc} */ public function deleteUser(UserInterface $user) { if (!$user instanceof UserProxy) { throw new \InvalidArgumentException('This user instance is not supported by the Propel UserManager implementation'); } $user->delete(); }