is_valid( $parser->get_value(), $parser->get_context() ); } public function to_array(): array { return array( 'value' => $this->get_id(), 'label' => $this->get_label(), ); } public function rep_item_id() { return $this->get_id(); } }