Refactor dynamic App::getProfiler() to static DI::profiler()
This commit is contained in:
10
src/App.php
10
src/App.php
@@ -155,16 +155,6 @@ class App
|
||||
return $this->config->getCache()->get('system', 'basepath');
|
||||
}
|
||||
|
||||
/**
|
||||
* The profiler of this app
|
||||
*
|
||||
* @return Profiler
|
||||
*/
|
||||
public function getProfiler()
|
||||
{
|
||||
return $this->profiler;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the Mode of the Application
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user