Example #1
0
 public static function run($config)
 {
     self::autoload();
     self::$token = new \WeChat\Token($config);
     self::$request = self::factory('Request');
     self::$response = self::factory('Response');
     self::$router = self::factory('Router');
 }