mageekguy\atoum\php\tokenizer\iterator::goToNextTagWhichIsNot PHP Method

goToNextTagWhichIsNot() public method

public goToNextTagWhichIsNot ( array $tags )
$tags array
    public function goToNextTagWhichIsNot(array $tags)
    {
        $this->next();
        $token = $this->current();
        while ($token !== null && in_array($token->getTag(), $tags) === true) {
            $this->next();
            $token = $this->current();
        }
        return $this;
    }