setWsdl() public method

Sets the location of the WSDL for the VIES SOAP Service
public setWsdl ( string $wsdl ) : Vies
$wsdl string
return Vies
Exemplo n.º 1
0
 /**
  * @covers \DragonBe\Vies\Vies::setWsdl
  */
 public function testSettingCustomWsdl()
 {
     $wsdl = 'http://www.example.com/?wsdl';
     $vies = new Vies();
     $vies->setWsdl($wsdl);
     $actual = $vies->getWsdl();
     $this->assertSame($wsdl, $actual);
 }