WSDL\Parser\Node::getSanitizedName PHP Method

getSanitizedName() public method

public getSanitizedName ( ) : string
return string
    public function getSanitizedName()
    {
        return str_replace('$', '', $this->name);
    }

Usage Example

Example #1
0
 /**
  * @test
  */
 public function shouldGetSanitizedName()
 {
     //given
     $node = new Node('int', '$age', false);
     //when
     $name = $node->getSanitizedName();
     //then
     $this->assertEquals('age', $name);
 }
All Usage Examples Of WSDL\Parser\Node::getSanitizedName