Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
duskohu committed Feb 19, 2017
1 parent 056cb2f commit 6a6451b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/NasExt/Navigation/Container/NavigationContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

use Nette\SmartObject;

class Container {
class NavigationContainer {

use SmartObject;
const ADMIN_BASE = 'baseAdmin';
Expand Down
6 changes: 3 additions & 3 deletions src/NasExt/Navigation/DI/INavigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@

namespace NasExt\Navigation\DI;

use NasExt\Navigation\Container\Container;
use NasExt\Navigation\Container\NavigationContainer;

interface INavigation {

/**
* @param Container $navigationContainer
* @param NavigationContainer $navigationContainer
* @return void
*/
public function setNavigation(Container $navigationContainer);
public function setNavigation(NavigationContainer $navigationContainer);
}
6 changes: 3 additions & 3 deletions src/NasExt/Navigation/DI/NavigationFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace NasExt\Navigation\DI;

use NasExt\Navigation\Container\Container;
use NasExt\Navigation\Container\NavigationContainer;
use Nette\Iterators\Mapper;
use Nette\Object;

Expand All @@ -25,10 +25,10 @@ public function __construct(Mapper $navigationResolver) {
}

/**
* @return Container
* @return NavigationContainer
*/
public function create() {
$navigationContainer = new Container();
$navigationContainer = new NavigationContainer();

foreach ($this->navigationResolver as $item) {
$item->setNavigation($navigationContainer);
Expand Down

0 comments on commit 6a6451b

Please sign in to comment.