diff --git a/application/class/Dumper.php b/application/class/Dumper.php index e31c80d..87dcfd0 100644 --- a/application/class/Dumper.php +++ b/application/class/Dumper.php @@ -2,10 +2,10 @@ namespace MVC\Classe; -class Dumper -{ - public static function dump($var) - { + +class Dumper{ + + public static function dump($var){ echo "
";
         if (is_bool($var)) {
             echo ($var) ? "true" : "false";
@@ -21,6 +21,7 @@ class Dumper
      */
     public static function setPHPvalues()
     {
+
         ini_set('display_errors', 1);
         ini_set('display_startup_errors', 1);
         ini_set('memory_limit', -1);
@@ -31,4 +32,4 @@ class Dumper
 
         return;
     }
-}
+}
\ No newline at end of file
diff --git a/application/class/Logger.php b/application/class/Logger.php
index 81a1365..aa05216 100644
--- a/application/class/Logger.php
+++ b/application/class/Logger.php
@@ -3,11 +3,13 @@
 
 namespace MVC\Classe;
 
+
 use Symfony\Component\Validator\Constraints\Date;
 
 class Logger
 {
-    public static function addLog($type = 'default', $what = "")
+
+    static function addLog($type = 'default', $what = "")
     {
         $file = LOG_PATH . DIRECTORY_SEPARATOR . 'app.' . $type . '.log';
         $browser = new Browser();
@@ -39,4 +41,5 @@ class Logger
 
         return;
     }
-}
+
+}
\ No newline at end of file
diff --git a/composer.json b/composer.json
index a15090e..eb87393 100644
--- a/composer.json
+++ b/composer.json
@@ -5,8 +5,9 @@
       ],
 
         "psr-4": {
-            "MVC\\Classe\\":"./application/class",
-            "MVC\\Objets\\":"./application/objets"
+            "MVC\\Classe\\" : "./application/class",
+            "MVC\\Domain\\" : "./domain",
+            "MVC\\Command\\": "./console/command"
         }
     },
     "require": {
diff --git a/console/bin.php b/console/bin.php
index 83564dd..0ca8caa 100644
--- a/console/bin.php
+++ b/console/bin.php
@@ -1,18 +1,27 @@
 #!/usr/bin/php