function DevelCommands::getContainer
Gets the container.
Return value
\Drupal\Component\DependencyInjection\ContainerInterface The container.
1 call to DevelCommands::getContainer()
- DevelCommands::services in src/
Drush/ Commands/ DevelCommands.php  - Get a list of available container services.
 
File
- 
              src/
Drush/ Commands/ DevelCommands.php, line 80  
Class
Namespace
Drupal\devel\Drush\CommandsCode
public function getContainer() : ContainerInterface {
  return Drush::getContainer()->get('service_container');
}