/** * {@inheritDoc} */ public function getUser() { if (!isset($this->user)) { $this->user = $this->userMapper->find($this->userId); } return $this->user; }
/** * * {@inheritDoc} */ public function find($id) { return $this->userMapper->find($id); }