ContainerAware.php in Service Container 7        
                          
                  
                        
  
  
  
File
  src/DependencyInjection/ContainerAware.php
  
    View source  
  <?php
namespace Drupal\service_container\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerInterface as SymfonyContainerInterface;
abstract class ContainerAware implements ContainerAwareInterface {
  
  protected $container;
  
  public function setContainer(SymfonyContainerInterface $container = null) {
    $this->container = $container;
  }
}
 
Classes
        
  
  
      
      
         
      
                  
            Name            | 
                  
            Description           | 
              
    
    
          
                  | 
            ContainerAware           | 
                  
            ContainerAware is a simple implementation of ContainerAwareInterface.           |