REFACTORING: updated the base template with some examples, also added annotations for autocomplete in the core view and controller core.

This commit is contained in:
Stephan Kasdorf
2019-11-03 23:30:44 +01:00
parent 70dccc3f15
commit 7306db234e
20 changed files with 291 additions and 132 deletions

View File

@@ -25,7 +25,7 @@ class Controller extends View
$this->_setConfig(Config::getInstance()->getConfig());
}
public static function getInstance()
public static function getInstance(): View
{
$className = get_called_class();
if( self::$_instance == null )