Skip to content

Commit

Permalink
Adding support for stash.driver.class
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas committed Sep 1, 2016
1 parent 3b184fc commit 6e98efd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/StashServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ public function register(Container $c)
$c['stashes.driver.class'] = array();
}

if (isset($c['stash.driver.class'])) {
$tmp = $c['stashes.driver.class'];
$tmp['default'] = $c['stash.driver.class'];
$c['stashes.driver.class'] = $tmp;
}

if (!isset($c['stashes.options'])) {
$c['stashes.options'] = array();
}
Expand Down

0 comments on commit 6e98efd

Please sign in to comment.