File "ContainerBag.php"

Full Path: /home/warrior1/public_html/plugins/mailpoet/vendor-prefixed/symfony/dependency-injection/ParameterBag/ContainerBag.php
File size: 632 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\Container;
class ContainerBag extends FrozenParameterBag implements ContainerBagInterface
{
 private $container;
 public function __construct(Container $container)
 {
 $this->container = $container;
 }
 public function all()
 {
 return $this->container->getParameterBag()->all();
 }
 public function get(string $name)
 {
 return $this->container->getParameter($name);
 }
 public function has(string $name)
 {
 return $this->container->hasParameter($name);
 }
}