Page MenuHomeWickedGov Phorge

UuidCaster.php
No OneTemporary

Size
668 B
Referenced Files
None
Subscribers
None

UuidCaster.php

<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* 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 <lyrixx@lyrixx.info>
*/
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;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, May 16, 21:39 (1 d, 7 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7d/2c/2ecc047d65fd78535ac6dd206c64
Default Alt Text
UuidCaster.php (668 B)

Event Timeline