CoreFiles by mySites.guru
ConstStub.php33 lines, 665 bytes, from Joomla_4.0.0-alpha5-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha3
md5
8fdf4f1801e7b9769f7c42711ad6ac60
sha1
a1dff0094087402b442c14e1e3e8c0972bcc3dbc
sha256
e1767ce8e99a7126bcf96a58f20d74c8283046d5bc8d304117f846f48f965733
<?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 Symfony\Component\VarDumper\Cloner\Stub;

/**
 * Represents a PHP constant and its value.
 *
 * @author Nicolas Grekas <[email protected]>
 */
class ConstStub extends Stub
{
    public function __construct($name, $value)
    {
        $this->class = $name;
        $this->value = $value;
    }

    public function __toString()
    {
        return (string) $this->value;
    }
}

The same content is in 5 releases, Joomla 4.0.0-alpha5 to 4.0.0-alpha9. See them all, or every version of this file.