PHPUnit_Util_Filter::frameExists PHP Method

frameExists() public static method

public static frameExists ( array $trace, string $file, integer $line ) : boolean
$trace array
$file string
$line integer
return boolean
    public static function frameExists(array $trace, $file, $line)
    {
        foreach ($trace as $frame) {
            if (isset($frame['file']) && $frame['file'] == $file && isset($frame['line']) && $frame['line'] == $line) {
                return TRUE;
            }
        }
        return FALSE;
    }