public function getAccount() { $account = $this->entity->getAccount(); return ['id' => $account->getId(), 'name' => $account->getName()]; }