appconfig = model(Appconfig::class); } /** * @return string */ public function token_id(): string { return 'ISEQ'; } /** * @throws ReflectionException */ public function get_value(bool $save = true): string { if (empty($this->value)) { return $this->appconfig->acquire_next_invoice_sequence($save); } return $this->value; } }