public function PHP_Token_Stream::count

Return value

integer

File

drupal/core/vendor/phpunit/php-token-stream/PHP/Token/Stream.php, line 227

Class

PHP_Token_Stream
A stream of PHP tokens.

Code

public function count() {
  return count($this->tokens);
}