You are here

private static function PHPUnit_Util_Test::isAfterClassMethod in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Util/Test.php \PHPUnit_Util_Test::isAfterClassMethod()

@since Method available since Release 4.0.8

Parameters

ReflectionMethod $method:

Return value

bool

1 call to PHPUnit_Util_Test::isAfterClassMethod()
PHPUnit_Util_Test::getHookMethods in vendor/phpunit/phpunit/src/Util/Test.php
@since Method available since Release 4.0.8

File

vendor/phpunit/phpunit/src/Util/Test.php, line 1009

Class

PHPUnit_Util_Test
Test helpers.

Code

private static function isAfterClassMethod(ReflectionMethod $method) {
  return $method
    ->isStatic() && strpos($method
    ->getDocComment(), '@afterClass') !== false;
}