WSDL\Parser\Node::getName PHP Method

getName() public method

public getName ( ) : string
return string
    public function getName()
    {
        return $this->name;
    }

Usage Example

コード例 #1
0
ファイル: NodeTest.php プロジェクト: piotrooo/wsdl-creator
 /**
  * @test
  */
 public function shouldReturnName()
 {
     //given
     $node = new Node('int', '$age', false);
     //when
     $name = $node->getName();
     //then
     $this->assertEquals('$age', $name);
 }