public function factory(SoapClient $soapClient, EventDispatcherInterface $dispatcher) { $rc = new ReflectionClass($this->className); return $rc->newInstance($soapClient, $dispatcher); }