public static function isIgnoringTouch($class = null)
    {
        $class = $class ?: static::class;

        foreach (static::$ignoreOnTouch as $ignoredClass) {
            if ($class === $ignoredClass || is_subclass_of($class, $ignoredClass)) {
                return true;
            }
        }

        return false;
    }
public static function isIgnoringTouch($class = null)
    {
        $class = $class ?: static::class;

        foreach (static::$ignoreOnTouch as $ignoredClass) {
            if ($class === $ignoredClass || is_subclass_of($class, $ignoredClass)) {
                return true;
            }
        }

        return false;
    }
public static function isIgnoringTouch ( $ class = null ) { $ class = $ class ? : static :: class ; foreach ( static :: $ ignoreOnTouch as $ ignoredClass ) { if ( $ class === $ ignoredClass || is_subclass_of ( $ class , $ ignoredClass ) ) { return true ; } } return false ; }
Determine if the given model is ignoring touches.

@param  string|null  $class
@return bool
Determine if the given model is ignoring touches .