$66 GRAYBYTE WORDPRESS FILE MANAGER $99

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/php55/usr/share/pear/Symfony/Component/Security/Core/Util/

HOME
Current File : /opt/alt/php55/usr/share/pear/Symfony/Component/Security/Core/Util//ClassUtils.php
<?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\Security\Core\Util;

/**
 * Class related functionality for objects that
 * might or might not be proxy objects at the moment.
 *
 * @see Doctrine\Common\Util\ClassUtils
 *
 * @author Benjamin Eberlei <[email protected]>
 * @author Johannes Schmitt <[email protected]>
 */
class ClassUtils
{
    /**
     * Marker for Proxy class names.
     *
     * @var string
     */
    const MARKER = '__CG__';

    /**
     * Length of the proxy marker
     *
     * @var int
     */
    const MARKER_LENGTH = 6;

    /**
     * This class should not be instantiated
     */
    private function __construct() {}

    /**
     * Gets the real class name of a class name that could be a proxy.
     *
     * @param string|object
     * @return string
     */
    public static function getRealClass($object)
    {
        $class = is_object($object) ? get_class($object) : $object;

        if (false === $pos = strrpos($class, '\\'.self::MARKER.'\\')) {
            return $class;
        }

        return substr($class, $pos + self::MARKER_LENGTH + 2);
    }
}


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.54 PM
root / root
0755
ClassUtils.php
1.293 KB
18 Dec 2019 11.24 AM
root / root
0644
SecureRandom.php
3.272 KB
18 Dec 2019 11.24 AM
root / root
0644
SecureRandomInterface.php
0.636 KB
18 Dec 2019 11.24 AM
root / root
0644
StringUtils.php
1.719 KB
18 Dec 2019 11.24 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF