File "FrozenParameterBag.php"
Full Path: /home/warrior1/public_html/plugins/mailpoet/vendor-prefixed/symfony/dependency-injection/ParameterBag/FrozenParameterBag.php
File size: 865 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace MailPoetVendor\Symfony\Component\DependencyInjection\ParameterBag;
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Symfony\Component\DependencyInjection\Exception\LogicException;
class FrozenParameterBag extends ParameterBag
{
public function __construct(array $parameters = [])
{
$this->parameters = $parameters;
$this->resolved = \true;
}
public function clear()
{
throw new LogicException('Impossible to call clear() on a frozen ParameterBag.');
}
public function add(array $parameters)
{
throw new LogicException('Impossible to call add() on a frozen ParameterBag.');
}
public function set(string $name, $value)
{
throw new LogicException('Impossible to call set() on a frozen ParameterBag.');
}
public function remove(string $name)
{
throw new LogicException('Impossible to call remove() on a frozen ParameterBag.');
}
}