here is my piece of php code:
Excel::load(Input::file('file'), function ($reader) {
some_function();
});
my question is how to get the return value of some_function() and to check it if it is true, right after the execution of the Excel::load() block ? But please without the use of try-catch-block !