public static function setLogger(Logger $logger)
 {
     self::$logger = $logger;
 }