WSDL\Parser\Node::getSanitizedName PHP 메소드

getSanitizedName() 공개 메소드

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

Usage 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