Overrides UserInterface::activate
public function activate() { if ($this->isAnonymous()) { throw new \LogicException('The anonymous user account should remain blocked at all times.'); } $this->get('status')->value = 1; return $this; }