<?php

namespace App\Domains\Company\Providers;

use Dipper\Foundation\Core\MiddlewareServiceProvider as ServiceProvider;

/**
 * Class MiddlewareServiceProvider.
 *
 * @author  HollyTeng  <n.haoyuan@gmail.com>
 */
class MiddlewareServiceProvider extends ServiceProvider
{
    /**
     * 全局中间件
     *
     * @var array
     */
    protected $middleware = [];

    /**
     * 路由中间件
     *
     * @var array
     */
    protected $routeMiddleware = [
        'company_password' => \App\Domains\Company\Http\Middleware\PasswordAuthenticate::class,
    ];
}
