<?php

namespace Ignite\Core\Providers;

use Ignite\Core\Events\Subscribers\Theme\Scaffold;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Ignite\Core\Events\User;

class EventServiceProvider extends ServiceProvider
{
    /**
     * The event listener mappings for the application.
     *
     * @var array
     */
    protected $listen = [
        \SocialiteProviders\Manager\SocialiteWasCalled::class => [
            'SocialiteProviders\\SalesForce\\SalesForceExtendSocialite@handle'
        ],
    ];

    /**
     * The subscriber classes to register.
     *
     * @var array
     */
    protected $subscribe = [
        User::class,
        Scaffold::class
    ];
}
