/** * Returns information about whether the service is added in the dependency injection container * * @param string $name The name of the service * @return boolen TRUE if services is added. FALSE otherwise. */ public function __isset($name) { return $this->container->exists($name); }