2020-12-15 20:10:42 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Core\Application;
|
|
|
|
|
2020-12-15 20:46:46 +00:00
|
|
|
use Core\Configuration\Configurations;
|
2020-12-15 20:10:42 +00:00
|
|
|
use Illuminate\Container\Container;
|
|
|
|
|
|
|
|
class Application
|
|
|
|
{
|
2020-12-15 20:46:46 +00:00
|
|
|
/** @var Container $container */
|
|
|
|
private $container;
|
2020-12-15 20:10:42 +00:00
|
|
|
|
2020-12-15 20:46:46 +00:00
|
|
|
/** @var Configurations */
|
|
|
|
private $configurations;
|
|
|
|
|
|
|
|
public function __construct(Container $container, Configurations $configurations)
|
2020-12-15 20:10:42 +00:00
|
|
|
{
|
|
|
|
$this->container = $container;
|
2020-12-15 20:46:46 +00:00
|
|
|
$this->configurations = $configurations;
|
2020-12-15 20:10:42 +00:00
|
|
|
}
|
|
|
|
|
2020-12-15 20:50:42 +00:00
|
|
|
public function run(): void
|
2020-12-15 20:10:42 +00:00
|
|
|
{
|
|
|
|
//todo: implement run logic.
|
|
|
|
}
|
|
|
|
}
|