public function getCounter($isQuote) { return $isQuote ? $this->quote_number_counter : $this->invoice_number_counter; }