cyberfly
5/18/2018 - 4:16 AM

PHP check if exception

if ($user_leave_summaries instanceof \Exception) {
            $user_leave_summaries = [];
        }