mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Introduced configurations and application object (test code)
This commit is contained in:
1 parent
cf30a1280d
commit
bf79e9cee7
7 files changed
+131
-8
No files matched your search
@@ -2,15 +2,21 @@
|
||||
|
||||
namespace Core\Application;
|
||||
|
||||
use Core\Configuration\Configurations;
|
||||
use Illuminate\Container\Container;
|
||||
|
||||
class Application
|
||||
{
|
||||
private Container $container;
|
||||
/** @var Container $container */
|
||||
private $container;
|
||||
|
||||
public function __construct(Container $container)
|
||||
/** @var Configurations */
|
||||
private $configurations;
|
||||
|
||||
public function __construct(Container $container, Configurations $configurations)
|
||||
{
|
||||
$this->container = $container;
|
||||
$this->configurations = $configurations;
|
||||
}
|
||||
|
||||
public function run()
|
||||
|
||||
Reference in new issue
Block a user