Server IP : 66.29.132.124 / Your IP : 3.137.198.0 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/book24.ng/vendor/doctrine/dbal/src/Portability/ |
Upload File : |
<?php declare(strict_types=1); namespace Doctrine\DBAL\Portability; use Doctrine\DBAL\Driver\Middleware\AbstractResultMiddleware; use Doctrine\DBAL\Driver\Result as ResultInterface; final class Result extends AbstractResultMiddleware { /** @var Converter */ private $converter; /** * @internal The result can be only instantiated by the portability connection or statement. */ public function __construct(ResultInterface $result, Converter $converter) { parent::__construct($result); $this->converter = $converter; } /** * {@inheritDoc} */ public function fetchNumeric() { return $this->converter->convertNumeric( parent::fetchNumeric() ); } /** * {@inheritDoc} */ public function fetchAssociative() { return $this->converter->convertAssociative( parent::fetchAssociative() ); } /** * {@inheritDoc} */ public function fetchOne() { return $this->converter->convertOne( parent::fetchOne() ); } /** * {@inheritDoc} */ public function fetchAllNumeric(): array { return $this->converter->convertAllNumeric( parent::fetchAllNumeric() ); } /** * {@inheritDoc} */ public function fetchAllAssociative(): array { return $this->converter->convertAllAssociative( parent::fetchAllAssociative() ); } /** * {@inheritDoc} */ public function fetchFirstColumn(): array { return $this->converter->convertFirstColumn( parent::fetchFirstColumn() ); } }