public static function build(array $config)
    {
        $input = new Input();
        $input->setQuery($_GET)
            ->setPost($_POST)
            ->setCookie($_COOKIE)
            ->setFiles($_FILES)
            ->setServer($_SERVER)
            ->setEnv($_ENV)
            ->setRequest($_REQUEST);

        return new Kernel($input, $config);
    }
public static function build(array $config)
    {
        $input = new Input();
        $input->setQuery($_GET)
            ->setPost($_POST)
            ->setCookie($_COOKIE)
            ->setFiles($_FILES)
            ->setServer($_SERVER)
            ->setEnv($_ENV)
            ->setRequest($_REQUEST);

        return new Kernel($input, $config);
    }
public static function build ( array $ config ) { $ input = new Input ( ) ; $ input -> setQuery ( $ _GET ) -> setPost ( $ _POST ) -> setCookie ( $ _COOKIE ) -> setFiles ( $ _FILES ) -> setServer ( $ _SERVER ) -> setEnv ( $ _ENV ) -> setRequest ( $ _REQUEST ) ; return new Kernel ( $ input , $ config ) ; }
Builds prepared application instance

@param array $config
@return \Krystal\Application\Kernel
Builds prepared application instance