/** * {@inheritdoc} * * @VirtualProperty */ public function getId() { return $this->entity->getId(); }
private function createResourceItem(Account $account) { return new ArrayAccessItem($account->getId(), $this->serialize($account), $account); }