SoapClientBase   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 3
c 1
b 0
f 0
dl 0
loc 13
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getSoapClientClassName() 0 3 1
1
<?php
2
3
namespace SoapClient;
4
5
use WsdlToPhp\PackageBase\AbstractSoapClientBase;
6
7
/**
8
 * This class can be overridden at your will.
9
 * Its only purpose is to show you how you can use your own SoapClient client.
10
 * As you can see, you must at least override the getSoapClientClassName in order to return
11
 * your own SoapClient class name to be used.
12
 *
13
 * Full information can be found at PackageBase project homepage: https://github.com/WsdlToPhp/PackageBase.
14
 */
15
class SoapClientBase extends AbstractSoapClientBase
16
{
17
    /**
18
     * @var string
19
     */
20
    const DEFAULT_SOAP_CLIENT_CLASS = '\SoapClient\SoapClient';
21
    /**
22
     * @see \WsdlToPhp\PackageBase\AbstractSoapClientBase::getSoapClientClassName()
23
     * @return string
24
     */
25
    public function getSoapClientClassName($soapClientClassName = null)
26
    {
27
        return parent::getSoapClientClassName(static::DEFAULT_SOAP_CLIENT_CLASS);
28
    }
29
}