SILENT KILLERPanel

Current Path: > > opt > cloudlinux > alt-php55 > root > usr > share > pear > > Symfony > > Component > Config > Definition


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/cloudlinux/alt-php55/root/usr/share/pear//Symfony//Component/Config/Definition

NameTypeSizeLast ModifiedActions
Builder Directory - -
Dumper Directory - -
Exception Directory - -
ArrayNode.php File 10983 bytes December 18 2019 11:24:05.
BaseNode.php File 8710 bytes December 18 2019 11:24:05.
BooleanNode.php File 939 bytes December 18 2019 11:24:05.
ConfigurationInterface.php File 612 bytes December 18 2019 11:24:05.
EnumNode.php File 1548 bytes December 18 2019 11:24:05.
FloatNode.php File 1009 bytes December 18 2019 11:24:05.
IntegerNode.php File 875 bytes December 18 2019 11:24:05.
NodeInterface.php File 1929 bytes December 18 2019 11:24:05.
NumericNode.php File 1581 bytes December 18 2019 11:24:05.
Processor.php File 2855 bytes December 18 2019 11:24:05.
PrototypeNodeInterface.php File 631 bytes December 18 2019 11:24:05.
PrototypedArrayNode.php File 10019 bytes December 18 2019 11:24:05.
ReferenceDumper.php File 560 bytes December 18 2019 11:24:05.
ScalarNode.php File 1083 bytes December 18 2019 11:24:05.
VariableNode.php File 2488 bytes December 18 2019 11:24:05.

Reading File: //opt/cloudlinux/alt-php55/root/usr/share/pear//Symfony//Component/Config/Definition/ScalarNode.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\Config\Definition;

use Symfony\Component\Config\Definition\Exception\InvalidTypeException;

/**
 * This node represents a scalar value in the config tree.
 *
 * The following values are considered scalars:
 *   * booleans
 *   * strings
 *   * null
 *   * integers
 *   * floats
 *
 * @author Johannes M. Schmitt <schmittjoh@gmail.com>
 */
class ScalarNode extends VariableNode
{
    /**
     * {@inheritDoc}
     */
    protected function validateType($value)
    {
        if (!is_scalar($value) && null !== $value) {
            $ex = new InvalidTypeException(sprintf(
                'Invalid type for path "%s". Expected scalar, but got %s.',
                $this->getPath(),
                gettype($value)
            ));
            $ex->setPath($this->getPath());

            throw $ex;
        }
    }
}

SILENT KILLER Tool