title: Lumen Cache\Store is not instantiable
body: <p>I'm quite new to Laravel and Lumen, so my question may be a little simple, but I couldn't find any useful answer yet.</p>
  
  <p>Lumen version is <code>5.1</code>.</p>
  
  <p>So I tried to create a data repository supported by a cache. Firstly I want to use FileStore, then I want to move to some more appropriate.</p>
  
  <p>I tried to inject Cache repository like this:</p>
  
  <pre><code>&lt;?php
  
      namespace App\Repositories;
  
      use Illuminate\Cache\Repository;
  
      class DataRepository
      {
          private $cache;
  
          public function __construct(Repository $cache)
          {
              $this-&gt;cache = $cache;
          }
      }
  </code></pre>
  
  <p>It seemed pretty simple to me. But when I try to use this repo in my controller, and tried to inject this repo into it, during instantiation I get the following error:</p>
  
  <pre><code>BindingResolutionException in Container.php line 749:
  Target [Illuminate\Contracts\Cache\Store] is not instantiable.
  </code></pre>
  
  <p>I guessed the repository cannot find the matching and useable store implementation. When I tried to bind the Store to \Illumante\Cache\FileStore like this:</p>
  
  <pre><code>$this-&gt;app-&gt;bind(\Illuminate\Contracts\Cache\Store::class, \Illuminate\Cache\FileStore::class);
  </code></pre>
  
  <p>I got a new kind of error:</p>
  
  <pre><code>Unresolvable dependency resolving [Parameter #1 [ &lt;required&gt; $directory ]] in class Illuminate\Cache\FileStore
  </code></pre>
  
  <p>I guess I have a more complicated config issue, so I didn't want to walk through the dependency tree.</p>
  
  <p>In my <code>.env</code> I have these:</p>
  
  <p><code>CACHE_DRIVER=file</code> and <code>SESSION_DRIVER=file</code></p>
  
  <p>In Lumen I explicitly enabled the facades, the DotEnv (and the eloquent also for my data repositories).</p>
  
  <pre><code>Dotenv::load(__DIR__.'/../');
  
  $app = new Laravel\Lumen\Application(
      realpath(__DIR__.'/../')
  );
  
  $app-&gt;withFacades();
  $app-&gt;withEloquent();
  </code></pre>
  
  <p>I tried to add a cache.php configuration. In the bootstrap/app.php I added <code>$app-&gt;configure('cache');</code> to use it with the following configs:</p>
  
  <pre><code>&lt;?php
  
  return [
      'default' =&gt; env('CACHE_DRIVER', 'file'),
  
      'stores' =&gt; [
          'file' =&gt; [
              'driver' =&gt; 'file',
              'path' =&gt; storage_path('framework/cache'),
          ],
      ],
  ];
  </code></pre>
  
  <p>Could you help me, how can I bootstrap the Cache properly?</p>