Refactor dynamic App::getConfig() to static DI::config()
This commit is contained in:
10
src/App.php
10
src/App.php
@@ -144,16 +144,6 @@ class App
|
||||
return $this->config->getCache();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the current config of this node
|
||||
*
|
||||
* @return Configuration
|
||||
*/
|
||||
public function getConfig()
|
||||
{
|
||||
return $this->config;
|
||||
}
|
||||
|
||||
/**
|
||||
* The basepath of this app
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user