WSDL\Lexer\TokenObject::getName PHP 메소드

getName() 공개 메소드

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

Usage Example

예제 #1
0
 private function checkObjectHasOpenBracket(TokenObject $token)
 {
     $tokenObject = $this->lookAt($this->position - 2);
     if ($tokenObject && Strings::equalsIgnoreCase($tokenObject->getValue(), self::OBJECT_TYPE) && $token->getName() != Token::OPEN_OBJECT) {
         throw new ParserException('Missing open object');
     }
 }