protected function getLibraryHook() { if (empty($this->soapHook)) { $this->soapHook = VCRFactory::get('VCR\\LibraryHooks\\SoapHook'); } return $this->soapHook; }