public static function all($filters) {
    return function ($node) use ($filters) {
      foreach ($filters as $filter) {
        if (!$filter($node)) {
          return FALSE;
        }
      }
      return TRUE;
    };
  }
public static function all($filters) {
    return function ($node) use ($filters) {
      foreach ($filters as $filter) {
        if (!$filter($node)) {
          return FALSE;
        }
      }
      return TRUE;
    };
  }
public static function all ( $ filters ) { return function ( $ node ) use ( $ filters ) { foreach ( $ filters as $ filter ) { if ( ! $ filter ( $ node ) ) { return FALSE ; } } return TRUE ; } ; }
Callback returns true if all of the callbacks pass.

@param callable[] $filters
@return callable
Callback returns true if all of the callbacks pass .