public function PHP_Token_Stream::getFunctions in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/php-token-stream/src/Token/Stream.php \PHP_Token_Stream::getFunctions()
Return value
array
File
- vendor/
phpunit/ php-token-stream/ src/ Token/ Stream.php, line 240
Class
- PHP_Token_Stream
- A stream of PHP tokens.
Code
public function getFunctions() {
if ($this->functions !== null) {
return $this->functions;
}
$this
->parse();
return $this->functions;
}