src/Bedrock/Http/Application.php
public function createStack($handlers): Stack
    {
        if (!is_array($handlers)) {
            $handlers = [$handlers];
        }
        return new Stack(
            $handlers,
            $this->handlerResolver
        );
    }
public function createStack($handlers): Stack
    {
        if (!is_array($handlers)) {
            $handlers = [$handlers];
        }
        return new Stack(
            $handlers,
            $this->handlerResolver
        );
    }
public function createStack ( $ handlers ) : Stack { if ( ! is_array ( $ handlers ) ) { $ handlers = [ $ handlers ] ; } return new Stack ( $ handlers , $ this -> handlerResolver ) ; }
Create a stack with the current app handlerResolver
@param mixed $handlers
@return Stack
Create a stack with the current app handlerResolver