src/Application.php
public static function build(
        Injector $injector = null,
        ConfigurationSet $configuration = null,
        MiddlewareSet $middleware = null
    ) {
        return new static($injector, $configuration, $middleware);
    }
public static function build(
        Injector $injector = null,
        ConfigurationSet $configuration = null,
        MiddlewareSet $middleware = null
    ) {
        return new static($injector, $configuration, $middleware);
    }
Create a new application

@param Injector $injector
@param ConfigurationSet $configuration
@param MiddlewareSet $middleware

@return static