/** * {@inheritdoc} */ public function jsonSerialize() { return array_merge(parent::jsonSerialize(), ['account_id' => $this->getAccountId(), 'day' => $this->getDay(), 'is_used_on_day' => $this->getIsUsedOnDay(), 'stats' => $this->getStats()]); }