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]); }
Please login to continue.