Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

ContainerInterface.php

Same filename in this branch
  1. 11.1.x vendor/symfony/dependency-injection/ContainerInterface.php
  2. 11.1.x vendor/psr/container/src/ContainerInterface.php

Namespace

Drupal\Component\DependencyInjection

File

core/lib/Drupal/Component/DependencyInjection/ContainerInterface.php

View source
<?php

namespace Drupal\Component\DependencyInjection;

use Symfony\Component\DependencyInjection\ContainerInterface as BaseContainerInterface;

/**
 * The interface for Drupal service container classes.
 */
interface ContainerInterface extends BaseContainerInterface {
    
    /**
     * Gets all defined service IDs.
     *
     * @return array
     *   An array of all defined service IDs.
     */
    public function getServiceIds();

}

Interfaces

Title Deprecated Summary
ContainerInterface The interface for Drupal service container classes.
RSS feed
Powered by Drupal