WSDL\Parser\Node::getType PHP Method

getType() public method

public getType ( ) : string
return string
    public function getType()
    {
        return $this->type;
    }

Usage Example

示例#1
0
 /**
  * @test
  */
 public function shouldGetTypeForObjectType()
 {
     //given
     $elements = [new Node('string', '$name', false)];
     $node = new Node('object', '$user', false, $elements);
     //when
     $type = $node->getType();
     //then
     $this->assertEquals('object', $type);
 }
All Usage Examples Of WSDL\Parser\Node::getType