CoreFiles by mySites.guru
ProxyManagerCaster.php31 lines, 704 bytes, from Joomla_4.0.0-alpha10-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha9
md5
cb0cab69fbee42039cbcec0256b5af34
sha1
4ea73d9cdec3746d4c510ca52370cf4bdaed4fe8
sha256
d4f0c959653cdb6f9739817ac1b9e716e36e02fb1ef645609c92363fb4dc4f66
<?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 ProxyManager\Proxy\ProxyInterface;
use Symfony\Component\VarDumper\Cloner\Stub;

/**
 * @author Nicolas Grekas <[email protected]>
 */
class ProxyManagerCaster
{
    public static function castProxy(ProxyInterface $c, array $a, Stub $stub, $isNested)
    {
        if ($parent = \get_parent_class($c)) {
            $stub->class .= ' - '.$parent;
        }
        $stub->class .= '@proxy';

        return $a;
    }
}

No other release has this exact content. See every version of this file.