canDo('map.transaction.import')) { return true; } return false; } /** * Determine if the given user can approve the given transaction. * * @param Authenticatable $user * * @return bool */ public function export(Authenticatable $user) { if ($user->canDo('map.transaction.export')) { return true; } return false; } }