Returns the tickets for a test class or method.
@since Method available since Release 3.4.0
string $className:
string $methodName:
array
public static function getTickets($className, $methodName) {
$annotations = self::parseTestMethodAnnotations($className, $methodName);
$tickets = array();
if (isset($annotations['class']['ticket'])) {
$tickets = $annotations['class']['ticket'];
}
if (isset($annotations['method']['ticket'])) {
$tickets = array_merge($tickets, $annotations['method']['ticket']);
}
return array_unique($tickets);
}