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