private static function PHPUnit_Util_Test::isAfterMethod in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Util/Test.php \PHPUnit_Util_Test::isAfterMethod()
@since Method available since Release 4.0.8
Parameters
ReflectionMethod $method:
Return value
bool
1 call to PHPUnit_Util_Test::isAfterMethod()
- 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 1019
Class
- PHPUnit_Util_Test
- Test helpers.
Code
private static function isAfterMethod(ReflectionMethod $method) {
return preg_match('/@after\\b/', $method
->getDocComment());
}