Skip to content

Commit

Permalink
format method
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed May 19, 2017
1 parent 6a35a74 commit 7c17bf5
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/Illuminate/Container/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -1065,17 +1065,14 @@ protected function getExtenders($abstract)
}

/**
* Remove all the extend closure of abstract.
* Remove all of the extender callbacks for a given type.
*
* @param string $abstract
* @param string $abstract
* @return void
*/
public function forgetExtenders($abstract)
{
$abstract = $this->getAlias($abstract);

if (isset($this->extenders[$abstract])) {
unset($this->extenders[$abstract]);
}
unset($this->extenders[$this->getAlias($abstract)]);
}

/**
Expand Down

0 comments on commit 7c17bf5

Please sign in to comment.