Removing unused function App::setObjects()

This commit is contained in:
Jose Lorenzo Rodriguez 2011-05-23 11:03:11 -04:30
parent a2f725ff76
commit 1e7bf963c3

View file

@ -508,20 +508,6 @@ class App {
return self::$__objects[$cacheLocation][$name];
}
/**
* Allows you to modify the object listings that App maintains inside of it
* Useful for testing
*
* @param string $type Type of object listing you are changing
* @param array $values The values $type should be set to.
* @return void
*/
public static function setObjects($type, $values) {
list($plugin, $type) = pluginSplit($type);
$cacheLocation = empty($plugin) ? 'app' : $plugin;
self::$__objects[$cacheLocation][$type] = $values;
}
/**
* Declares a package for a class. This package location will be used
* by the automatic class loader if the class is tried to be used