src/Backpack/BlackMagic.php
public static function createApp(string $environment = 'dev', Dictionary $props = null)
    {
        $container = new Container();
        $kernel = new Kernel($environment, $container);
        $handlerResolver = new HandlerResolver($container);
        $props = $props ?? new PropertiesBag();
        return new Application(
            $kernel,
            $handlerResolver,
            $props
        );
    }
public static function createApp(string $environment = 'dev', Dictionary $props = null)
    {
        $container = new Container();
        $kernel = new Kernel($environment, $container);
        $handlerResolver = new HandlerResolver($container);
        $props = $props ?? new PropertiesBag();
        return new Application(
            $kernel,
            $handlerResolver,
            $props
        );
    }
public static function createApp ( string $ environment = 'dev' , Dictionary $ props = null ) { $ container = new Container ( ) ; $ kernel = new Kernel ( $ environment , $ container ) ; $ handlerResolver = new HandlerResolver ( $ container ) ; $ props = $ props ?? new PropertiesBag ( ) ; return new Application ( $ kernel , $ handlerResolver , $ props ) ; }
Create an app!

@param string $environment
@param Dictionary|null $props
@return Application
Create an app!