public function setOwner(UserInterface $account) { $key = $this->getEntityType() ->getKey('owner'); $this->set($key, $account); return $this; }