File: /home/imensosw/public_html/mpl.imenso.co/app/Providers/EventServiceProvider.php
<?php
namespace App\Providers;
use App\Events\ArtistPostsNews;
use App\Events\EventUnannounced;
use App\Events\FanMarksEventAsNotInteresting;
use App\Events\PromoterMadeGlobal;
use App\Events\UserReportsComment;
use App\Events\UserUnreportsComment;
use App\Events\VenueMarkedAsApproved;
use App\Listeners\AddLikeToComment;
use App\Listeners\AddReportToComment;
use App\Listeners\MarkEventAsInterestingForFan;
use App\Listeners\RemoveFollowedArtistNewEventNotification;
use App\Listeners\RemoveFollowedVenueNewEventNotification;
use App\Listeners\RemoveLikeFromComment;
use App\Listeners\RemoveReportFromComment;
use App\Listeners\SendArtistPostsNewsNotification;
use App\Listeners\SendArtistPostsNewsPushNotification;
use App\Listeners\SendEventProposedEmail;
use App\Listeners\SendNewEnquiryEmail;
use App\Listeners\SendPromoterIsNowGlobalNotification;
use App\Listeners\SendVenueHasRegisteredNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Event;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
\App\Events\EventAnnounced::class => [
\App\Listeners\SendFollowedArtistNewEventNotification::class,
\App\Listeners\SendFollowedVenueNewEventNotification::class,
],
EventUnannounced::class => [
RemoveFollowedArtistNewEventNotification::class,
RemoveFollowedVenueNewEventNotification::class,
],
\App\Events\EventCancelled::class => [
\App\Listeners\SendInterestedInEventCancelledNotification::class,
\App\Listeners\SendTicketHoldersEventCancelledNotification::class,
\App\Listeners\SendParticipantsEventCancelledNotification::class,
],
\App\Events\EventCommentedOn::class => [
\App\Listeners\SendInterestedInEventCommentedOnNotification::class,
\App\Listeners\SendTicketHoldersEventCommentedOnNotification::class,
],
\App\Events\ArtistRecommendsArtist::class => [
\App\Listeners\SendArtistRecommendedYouNotification::class,
\App\Listeners\SendCheckOutArtistToFansNotification::class,
],
\App\Events\ArtistUnrecommendsArtist::class => [
\App\Listeners\RemoveArtistRecommendedYouNotification::class,
],
\App\Events\FanFriendRequestsFan::class => [
\App\Listeners\SendFanFriendRequestedYouNotification::class,
],
\App\Events\FanUnfriendRequestsFan::class => [
\App\Listeners\RemoveFanFriendRequestedYouNotification::class,
],
\App\Events\FanAcceptsFriendRequest::class => [
\App\Listeners\SendFanAcceptedYourFriendRequestNotification::class,
],
UserReportsComment::class => [
AddReportToComment::class,
],
UserUnreportsComment::class => [
RemoveReportFromComment::class,
],
\App\Events\UserCommentOnPost::class => [
\App\Listeners\SendUserCommentedOnPostYouCommentedOnNotification::class,
\App\Listeners\SendUserCommentedOnYourPostNotification::class,
],
\App\Events\UserDeletedCommentOnPost::class => [
\App\Listeners\RemoveUserCommentedOnPostYouCommentedOnNotification::class,
\App\Listeners\RemoveUserCommentedOnYourPostNotification::class,
],
\App\Events\UserLikesCommentOnPost::class => [
\App\Listeners\SendUserLikedYourCommentOnPostNotification::class,
AddLikeToComment::class,
],
\App\Events\UserUnlikesCommentOnPost::class => [
\App\Listeners\RemoveUserLikedYourCommentOnPostNotification::class,
RemoveLikeFromComment::class,
],
\App\Events\UserLikesPost::class => [
\App\Listeners\SendUserLikedYourPostNotification::class,
],
\App\Events\FanMarksArtistAsSeenLive::class => [
\App\Listeners\SendFriendSawABandLiveNotification::class,
\App\Listeners\SendSawYouLiveNotification::class,
],
\App\Events\FanMarksArtistAsLikeToSeeLive::class => [
\App\Listeners\SendLikeToSeeYouLiveNotification::class,
],
\App\Events\FanMarksEventAsInteresting::class => [
\App\Listeners\SendFriendIsInterestedInEventNotification::class,
MarkEventAsInterestingForFan::class,
],
FanMarksEventAsNotInteresting::class => [
MarkEventAsInterestingForFan::class,
],
\App\Events\FanUnmarksArtistAsSeenLive::class => [
\App\Listeners\RemoveFriendSawABandLiveNotification::class,
],
\App\Events\UserSendsMessage::class => [],
\App\Events\TicketCreated::class => [
\App\Listeners\TicketCreated::class,
],
\App\Events\VenueApprovesProposedEvent::class => [
\App\Listeners\SendYourEventProposalSucceededNotification::class,
],
\App\Events\VenueDeniesProposedEvent::class => [
\App\Listeners\SendYourEventProposalFailedNotification::class,
],
\App\Events\VenueMakesDateAvailable::class => [
\App\Listeners\SendVenueYouLinkWithMadeDateAvailableNotification::class,
],
\App\Events\VenueMakesDateRangeAvailable::class => [
\App\Listeners\SendVenueYouLinkWithMadeDateRangeAvailableNotification::class,
],
\App\Events\PromoterCreatesChallenge::class => [
\App\Listeners\SendVenueNewChallengeNotification::class,
],
\App\Events\PromoterCreatesEnquiry::class => [
\App\Listeners\SendVenueNewEnquiryNotification::class,
],
\App\Events\NewEnquiry::class => [
SendNewEnquiryEmail::class,
],
\App\Events\PromoterLinksWithVenue::class => [
\App\Listeners\SendVenuePromoterConnectionNotification::class,
],
\App\Events\PromoterAddsArtistToEnquiry::class => [
\App\Listeners\SendArtistHasBeenAddedToEnquiryNotification::class,
],
\App\Events\PromoterConnectsToAnArtist::class => [
\App\Listeners\SendArtistPromoterConnectionNotification::class,
],
\App\Events\RadioShowUpdated::class => [
\App\Listeners\BroadcastNewShowInfo::class,
],
\App\Events\RadioShowEnded::class => [
\App\Listeners\BroadcastShowEnded::class,
],
\App\Events\RadioMessageSent::class => [],
\App\Events\EventProposed::class => [
\App\Listeners\SendEventProposedNotification::class,
SendEventProposedEmail::class,
],
\App\Events\VenueClosesEnquiry::class => [
\App\Listeners\SendEnquiryClosedNotification::class,
],
\App\Events\VenueAnnouncesChallenge::class => [
\App\Listeners\SendChallengeAnnouncedNotification::class,
],
\App\Events\VenueConfirmedDate::class => [
\App\Listeners\SendDateConfirmedNotification::class,
],
ArtistPostsNews::class => [
SendArtistPostsNewsNotification::class,
SendArtistPostsNewsPushNotification::class,
],
PromoterMadeGlobal::class => [
SendPromoterIsNowGlobalNotification::class,
],
VenueMarkedAsApproved::class => [
SendVenueHasRegisteredNotification::class,
],
];
/**
* Register any events for your application.
*
* @return void
*/
public function boot()
{
//
}
}