DragonBe\Vies\Vies::getOptions PHP Method

getOptions() public method

Retrieves the options for the PHP SOAP service
public getOptions ( ) : array
return array
    public function getOptions()
    {
        if (null === $this->options) {
            $this->options = [];
        }
        return $this->options;
    }

Usage Example

Example #1
0
 /**
  * @covers \DragonBe\Vies\Vies::getOptions
  */
 public function testDefaultOptionsAreEmpty()
 {
     $vies = new Vies();
     $options = $vies->getOptions();
     $this->assertInternalType('array', $options);
     $this->assertEmpty($options);
 }