MethodNameFilterCompiler
final class MethodNameFilterCompiler (View source)
| internal | This class is not covered by the backward compatibility promise for PHPUnit |
Methods
static string|null
compile(string $filter)
Returns null when the filter does not constrain the method name.
Details
static string|null
compile(string $filter)
Returns null when the filter does not constrain the method name.
Callers should treat null as "cannot prove a mismatch, keep the data provider".
Mirrors the parsing in NameFilterIterator::prepareFilter(): the two must stay in lockstep so the early skip never disagrees with the final filter.