result = $result; $this->converter = $converter; } /** * {@inheritDoc} */ public function fetchNumeric() { return $this->converter->convertNumeric( $this->result->fetchNumeric() ); } /** * {@inheritDoc} */ public function fetchAssociative() { return $this->converter->convertAssociative( $this->result->fetchAssociative() ); } /** * {@inheritDoc} */ public function fetchOne() { return $this->converter->convertOne( $this->result->fetchOne() ); } /** * {@inheritDoc} */ public function fetchAllNumeric(): array { return $this->converter->convertAllNumeric( $this->result->fetchAllNumeric() ); } /** * {@inheritDoc} */ public function fetchAllAssociative(): array { return $this->converter->convertAllAssociative( $this->result->fetchAllAssociative() ); } /** * {@inheritDoc} */ public function fetchFirstColumn(): array { return $this->converter->convertFirstColumn( $this->result->fetchFirstColumn() ); } public function rowCount(): int { return $this->result->rowCount(); } public function columnCount(): int { return $this->result->columnCount(); } public function free(): void { $this->result->free(); } }