CoreFiles by mySites.guru
UuidCaster.php30 lines, 668 bytes, from Joomla_4.2.4-Stable-Full_Package.zip
Raw History Compare with 4.2.3
md5
ec3d006aa075b21f8ba9907255c53920
sha1
f0509e3d14d6a6d7ce27f2623ba7742956fb1db7
sha256
ac23b7ea78b37cf0c720b0260a99fa18c32b64cd6822239f19f68c550ab02c34
<?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 Ramsey\Uuid\UuidInterface;
use Symfony\Component\VarDumper\Cloner\Stub;

/**
 * @author GrĂ©goire Pineau <[email protected]>
 */
final class UuidCaster
{
    public static function castRamseyUuid(UuidInterface $c, array $a, Stub $stub, bool $isNested): array
    {
        $a += [
            Caster::PREFIX_VIRTUAL.'uuid' => (string) $c,
        ];

        return $a;
    }
}

The same content is in 240 releases, Joomla 4.0.0-beta to 6.0.0-alpha3. See them all, or every version of this file.