WSDL\Lexer\TokenObject::getName PHP Method

getName() public method

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

Usage Example

コード例 #1
0
ファイル: Parser.php プロジェクト: piotrooo/wsdl-creator
 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');
     }
 }