all(); return array_filter($allExports, function($export) use ($user) { if ($export->canView($user)) { return true; } return false; }); } }