Permalink
Browse files

Database Explorer: fix FileStorage namespace (#676)

  • Loading branch information...
awfulthings authored and f3l1x committed Feb 17, 2018
1 parent d00efbd commit 8bf14adbc3cbb0e88097dabe8306227ddfabd8b5
Showing with 2 additions and 2 deletions.
  1. +1 −1 cs/database-explorer.texy
  2. +1 −1 en/database-explorer.texy
@@ -406,7 +406,7 @@ Pokud ale používáme Nette Database Explorer samostatně, musíme instanci `Ne

/--php
// $storage obsahuje implementaci Nette\Caching\IStorage, např.:
$storage = new Nette\Caching\FileStorage($tempDir);
$storage = new Nette\Caching\Storages\FileStorage($tempDir);
$connection = new Nette\Database\Connection($dsn, $user, $password);
$structure = new Nette\Database\Structure($connection, $storage);
$conventions = new Nette\Database\Conventions\DiscoveredConventions($structure);
@@ -406,7 +406,7 @@ However, if we use Nette Database Explorer separately, we need to create the `Ne

/--php
// $storage implements Nette\Caching\IStorage:
$storage = new Nette\Caching\FileStorage($tempDir);
$storage = new Nette\Caching\Storages\FileStorage($tempDir);
$connection = new Nette\Database\Connection($dsn, $user, $password);
$structure = new Nette\Database\Structure($connection, $storage);
$conventions = new Nette\Database\Conventions\DiscoveredConventions($structure);

0 comments on commit 8bf14ad

Please sign in to comment.