Container::hasScope

public Container::hasScope($name) File core/lib/Drupal/Component/DependencyInjection/Container.php, line 628 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code public function hasScope($name) { if ('request' !== $name) { @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED); } throw new \BadMethodCallException(sprintf("'%s' is not suppo

Container::hasParameter

public Container::hasParameter($name) File core/lib/Drupal/Component/DependencyInjection/Container.php, line 397 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code public function hasParameter($name) { return isset($this->parameters[$name]) || array_key_exists($name, $this->parameters); }

Container::has

public Container::has($id) File core/lib/Drupal/Component/DependencyInjection/Container.php, line 375 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code public function has($id) { return isset($this->aliases[$id]) || isset($this->services[$id]) || isset($this->serviceDefinitions[$id]); }

Container::getServiceIds

public Container::getServiceIds() Gets all defined service IDs. Return value array An array of all defined service IDs. File core/lib/Drupal/Component/DependencyInjection/Container.php, line 651 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code public function getServiceIds() { return array_keys($this->serviceDefinitions + $this->services); }

Container::getServiceAlternatives

protected Container::getServiceAlternatives($id) Provides alternatives in case a service was not found. Parameters string $id: The service to get alternatives for. Return value string[] An array of strings with suitable alternatives. File core/lib/Drupal/Component/DependencyInjection/Container.php, line 572 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code protected function getServiceAlternatives($id) { $all_serv

Container::getParameterAlternatives

protected Container::getParameterAlternatives($name) Provides alternatives in case a parameter was not found. Parameters string $name: The parameter to get alternatives for. Return value string[] An array of strings with suitable alternatives. File core/lib/Drupal/Component/DependencyInjection/Container.php, line 586 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code protected function getParameterAlternatives($name)

Container::getParameter

public Container::getParameter($name) File core/lib/Drupal/Component/DependencyInjection/Container.php, line 382 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code public function getParameter($name) { if (!(isset($this->parameters[$name]) || array_key_exists($name, $this->parameters))) { if (!$name) { throw new ParameterNotFoundException($name); } throw new ParameterNotFoundException($name,

Container::getInfo

public Container::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides ElementInterface::getInfo File core/lib/Drupal/Core/Render/Element/Container.php, line 46 Class Container Provides a render element that wraps child elements in a container. Namespace Drupal\Core\Re

Container::getAlternatives

protected Container::getAlternatives($search_key, array $keys) Provides alternatives for a given array and key. Parameters string $search_key: The search key to get alternatives for. array $keys: The search space to search for alternatives in. Return value string[] An array of strings with suitable alternatives. File core/lib/Drupal/Component/DependencyInjection/Container.php, line 551 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\Depend

Container::get

public Container::get($id, $invalid_behavior = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) File core/lib/Drupal/Component/DependencyInjection/Container.php, line 136 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code public function get($id, $invalid_behavior = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) { if (isset($this->aliases[$id])) { $id = $this->aliases[$id]; } // Re-use shared s