<?php
namespace Symfony\Components\DependencyInjection\Loader;
use Symfony\Components\DependencyInjection\ContainerBuilder;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**
* Loader is the abstract class used by all built-in loaders.
* @package Symfony
* @subpackage Components_DependencyInjection
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
abstract class Loader implements LoaderInterface
{
protected $container;
* Constructor.
* @param \Symfony\Components\DependencyInjection\ContainerBuilder $container A ContainerBuilder instance
public function __construct(ContainerBuilder $container)
$this->container = $container;
}