CoreFiles by mySites.guru
SqliteCaster.php32 lines, 770 bytes, from Joomla_6.1.2-Stable-Full_Package.zip
Raw History Compare with 6.1.1
md5
50660f00a9c1f0cfe4b9bd52e374e6ac
sha1
9f49803f821041f018843b5d23e2e55fcc89a902
sha256
319acff1f227adb28c5c16923233d1583a2f5ef553565690dea59e037e5f9691
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\VarDumper\Caster;

use Symfony\Component\VarDumper\Cloner\Stub;

/**
 * @author Alexandre Daubois <[email protected]>
 *
 * @internal
 */
final class SqliteCaster
{
    public static function castSqlite3Result(\SQLite3Result $result, array $a, Stub $stub, bool $isNested): array
    {
        $numColumns = $result->numColumns();
        for ($i = 0; $i < $numColumns; ++$i) {
            $a[Caster::PREFIX_VIRTUAL.'columnNames'][$i] = $result->columnName($i);
        }

        return $a;
    }
}

The same content is in 49 releases, Joomla 6.0.0-beta1 to 6.3.0-alpha1. See them all, or every version of this file.