id; } /** * Get order * * @return int * * @since 1.0.0 */ public function getOrder() : int { return $this->order; } /** * Set order * * @param int $order Order * * @return void * * @since 1.0.0 */ public function setOrder(int $order) : void { $this->order = $order; } /** * Get component * * @return string * * @since 1.0.0 */ public function getComponent() : string { return $this->component; } /** * Set component * * @param string $component Component * * @return void * * @since 1.0.0 */ public function setComponent(string $component) : void { $this->component = $component; } /** * Get module * * @return string * * @since 1.0.0 */ public function getModule() : string { return $this->module; } /** * Set module * * @param string $module Module * * @return void * * @since 1.0.0 */ public function setModule(string $module) : void { $this->module = $module; } /** * Get board * * @return int|DashboardBoard * * @since 1.0.0 */ public function getBoard() { return $this->board; } /** * Set board * * @param mixed $id Board * * @return void * * @since 1.0.0 */ public function setBoard($id) : void { $this->board = $id; } /** * {@inheritdoc} */ public function toArray() : array { return [ 'id' => $this->id, 'board' => $this->board, 'order' => $this->order, 'module' => $this->module, 'component' => $this->component, ]; } /** * {@inheritdoc} */ public function jsonSerialize() { return $this->toArray(); } }