public static function emptyInstance() { if (!isset(self::$emptyInstance)) { $doc = new \DOMDocument('1.0', 'utf-8'); @$doc->load(self::wsdlEmptyPath()); self::$emptyInstance = new DomDocumentHandler($doc); } return self::$emptyInstance; }