"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Core/ObjectRegistry.php" between
cakephp-4.0.1.tar.gz and cakephp-4.0.2.tar.gz

About: CakePHP is a rapid development framework for PHP applications. Source code.

ObjectRegistry.php  (cakephp-4.0.1):ObjectRegistry.php  (cakephp-4.0.2)
skipping to change at line 318 skipping to change at line 318
/** /**
* Clear loaded instances in the registry. * Clear loaded instances in the registry.
* *
* If the registry subclass has an event manager, the objects will be detach ed from events as well. * If the registry subclass has an event manager, the objects will be detach ed from events as well.
* *
* @return $this * @return $this
*/ */
public function reset() public function reset()
{ {
foreach (array_keys($this->_loaded) as $name) { foreach (array_keys($this->_loaded) as $name) {
$this->unload($name); $this->unload((string)$name);
} }
return $this; return $this;
} }
/** /**
* Set an object directly into the registry by name. * Set an object directly into the registry by name.
* *
* If this collection implements events, the passed object will * If this collection implements events, the passed object will
* be attached into the event manager * be attached into the event manager
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)