You are here

abstract class Dumper in Service Container 7.2

Same name in this branch
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/Yaml/Dumper.php \Symfony\Component\Yaml\Dumper
  2. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Dumper/Dumper.php \Symfony\Component\DependencyInjection\Dumper\Dumper
Same name and namespace in other branches
  1. 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Dumper/Dumper.php \Symfony\Component\DependencyInjection\Dumper\Dumper

Dumper is the abstract class for all built-in dumpers.

@author Fabien Potencier <fabien@symfony.com>

@api

Hierarchy

Expanded class hierarchy of Dumper

2 files declare their use of Dumper
OptimizedPhpArrayDumper.php in lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php
Contains \Drupal\Component\DependencyInjection\Dumper\OptimizedPhpArrayDumper.
PhpArrayDumper.php in lib/Drupal/Core/DependencyInjection/Dumper/PhpArrayDumper.php
Contains \Drupal\Core\DependencyInjection\Dumper\PhpArrayDumper
1 string reference to 'Dumper'
CrossCheckTest::testCrossCheck in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/CrossCheckTest.php
@dataProvider crossCheckLoadersDumpers

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Dumper/Dumper.php, line 23

Namespace

Symfony\Component\DependencyInjection\Dumper
View source
abstract class Dumper implements DumperInterface {
  protected $container;

  /**
   * Constructor.
   *
   * @param ContainerBuilder $container The service container to dump
   *
   * @api
   */
  public function __construct(ContainerBuilder $container) {
    $this->container = $container;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Dumper::$container protected property
Dumper::__construct public function Constructor. 1
DumperInterface::dump public function Dumps the service container. 6