public function setExtends($extends) { if ($extends) { throw new InvalidServiceException('Factory service "' . $this->getName() . '" cannot extend another service.'); } parent::setExtends($extends); }
public function setExtends($extends) { if ($extends) { throw new InvalidServiceException('Factory service "' . $this->getName() . '" cannot extend another service.'); } parent::setExtends($extends); }