Create AppHelper class
This commit is contained in:
parent
d29a18e56f
commit
81b0bab084
2 changed files with 54 additions and 0 deletions
|
|
@ -78,6 +78,11 @@ abstract class DI
|
|||
return self::$dice->create(App::class);
|
||||
}
|
||||
|
||||
public static function apphelper(): AppHelper
|
||||
{
|
||||
return self::$dice->create(AppHelper::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Database\Database
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue