public function getService($service) { if (!$this->container->hasService($service)) { throw new InvalidArgumentException("Service '{$service}' not found"); } return $this->container->getService($service); }