Skip to content

Commit

Permalink
Database Explorer: fix FileStorage namespace (#676)
Browse files Browse the repository at this point in the history
  • Loading branch information
cernockyd authored and Milan Felix Šulc committed Feb 17, 2018
1 parent d00efbd commit 8bf14ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cs/database-explorer.texy
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion en/database-explorer.texy
Expand Up @@ -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);
Expand Down

0 comments on commit 8bf14ad

Please sign in to comment.