pdo = $pdo; $this->companyId = $company_id; } // TODO: create(array $header, array $lines): int — returns journal_id // TODO: void(int $journal_id): void // TODO: getBySource(string $source_type, int $source_id): ?array // TODO: getById(int $journal_id): ?array // TODO: updateBalance(string $period, string $account_code, ?int $dept_id, float $debit, float $credit): void }