addType('attendeeId', Types::BIGINT); $this->addType('sessionId', Types::STRING); $this->addType('inCall', Types::INTEGER); $this->addType('lastPing', Types::INTEGER); $this->addType('state', Types::SMALLINT); } /** * @return array */ public function asArray(): array { return [ 'id' => $this->getId(), 'attendee_id' => $this->getAttendeeId(), 'session_id' => $this->getSessionId(), 'in_call' => $this->getInCall(), 'last_ping' => $this->getLastPing(), ]; } }