update php-cs-fixer

This commit is contained in:
Emmanuel ROY 2020-12-09 10:26:26 +01:00
commit 46f300f890
140 changed files with 1703 additions and 1251 deletions

View file

@ -10,7 +10,8 @@ class Application
public $route;
public function __construct(){
public function __construct()
{
$this->http = new HttpMethod();
$this->browser = new Browser();
@ -20,13 +21,13 @@ class Application
$this->route = $dispacher->route;
}
public function launch(){
public function launch()
{
//print_r($this->route);
$controlleur = new Controlleur($this);
//si la page n'est un controlleur d'action alors on affiche l'écran
if(!$this->url->page['control']) {
if (!$this->url->page['control']) {
print($controlleur->vue->ecran);
}
}
}