title: Laravel 6 - Bind array of implementations in constructor
body: <p>I'm trying to inject an array of implementations of a certain interface to a subscriber class.</p>
  <p>This is the code in my service provider:</p>
  <pre><code>$this-&gt;app-&gt;tag([TrackerServiceOne::class, TrackerServiceTwo::class], 'trackers');
  $this-&gt;app-&gt;bind(EventSubscriber::class, function ($app) {
      return new EventSubscriber($this-&gt;app-&gt;tagged('trackers'));
  });
  </code></pre>
  <p>And this is the constructor in my <code>EventSubscriber</code> class:</p>
  <pre><code>public function __construct(array $trackers)
  {
      $this-&gt;trackers = $trackers;
  }
  </code></pre>
  <p>This is the error I'm getting:</p>
  <pre><code>Unresolvable dependency resolving [Parameter #0 [ &lt;required&gt; array $trackers ]] in class Path\To\EventSubscriber
  </code></pre>