title: Middleware is not executing on broadcast route in Laravel
body: <p>I have the following code in <code>routes/channels.php</code>:</p>
  <pre class="lang-php prettyprint-override"><code>Broadcast::channel('test1', function() {
      return true;
  }, [ 'middleware' =&gt; [ 'test-midware' ] ]);
  </code></pre>
  <p>The following is in <code>app/Providers/BroadcastServiceProvider.php</code>:</p>
  <pre class="lang-php prettyprint-override"><code>public function boot()
  {
      Broadcast::routes([ 'middleware' =&gt; [ 'test-midware' ] ]);
      require base_path('routes/channels.php');
  }
  </code></pre>
  <p>The following is in <code>app/Http/Kernel.php</code>:</p>
  <pre class="lang-php prettyprint-override"><code>protected $routeMiddleware = [
      ...
      'test-midware' =&gt; \App\Http\Middleware\TestMidware::class,
      ...
  ];
  </code></pre>
  <p>The following is in <code>app/Http/Middleware/TestMidware.php</code>:</p>
  <pre class="lang-php prettyprint-override"><code>public function handle(Request $r, Closure $next)
  {
      logger('testing broadcast middleware');
  }
  </code></pre>
  <p>I am able to broadcast notification from Laravel and receive in the client-side/browser, it is working fine. But whether I remove middleware from either <code>channels.php</code> or <code>BroadcastServiceProvider.php</code>, or keep in both the files, the <code>TestMidware</code> isn't being executed. What is the problem? Why the <code>logger</code> function isn't being called?</p>