phug-php/phug

View on GitHub
src/Phug/Lexer/Lexer/Scanner/WhileScanner.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

/**
 * @example while something_is_true()
 */

namespace Phug\Lexer\Scanner;

use Phug\Lexer\Token\WhileToken;

class WhileScanner extends ControlStatementScanner
{
    public function __construct()
    {
        parent::__construct(
            WhileToken::class,
            ['while']
        );
    }
}