Skip to content

Commit

Permalink
updated chain namespace handling to preserve fluid interface when ext…
Browse files Browse the repository at this point in the history
…ending
  • Loading branch information
jgswift committed Jan 19, 2015
1 parent e2af615 commit 5e7d492
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Chain.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ public function getLink($names) {
*/
public function registerNamespace($namespace) {
Chain\Registry::addNamespace($this, $namespace);
return $this;
}

/**
Expand All @@ -120,6 +121,7 @@ public function registerNamespace($namespace) {
*/
public function unregisterNamespace($namespace) {
Chain\Registry::removeNamespace($this, $namespace);
return $this;
}

/**
Expand Down

0 comments on commit 5e7d492

Please sign in to comment.