Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6093267
ProxyManagerCaster.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
728 B
Referenced Files
None
Subscribers
None
ProxyManagerCaster.php
View Options
<?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
ProxyManager\Proxy\ProxyInterface
;
use
Symfony\Component\VarDumper\Cloner\Stub
;
/**
* @author Nicolas Grekas <p@tchwork.com>
*
* @final
*/
class
ProxyManagerCaster
{
public
static
function
castProxy
(
ProxyInterface
$c
,
array
$a
,
Stub
$stub
,
bool
$isNested
):
array
{
if
(
$parent
=
get_parent_class
(
$c
))
{
$stub
->
class
.=
' - '
.
$parent
;
}
$stub
->
class
.=
'@proxy'
;
return
$a
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 6 2026, 00:18 (6 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
dc/8d/6fc0cba45ddcf57adc75be7d452b
Default Alt Text
ProxyManagerCaster.php (728 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment