src/Bedrock/Http/Application.php
public function stack($handlers)
    {
        if (is_array($handlers)) {
            $this->handlers = array_merge($this->handlers, $handlers);
        } else {
            $this->handlers[] = $handlers;
        }
        return $this;
    }
public function stack($handlers)
    {
        if (is_array($handlers)) {
            $this->handlers = array_merge($this->handlers, $handlers);
        } else {
            $this->handlers[] = $handlers;
        }
        return $this;
    }
public function stack ( $ handlers ) { if ( is_array ( $ handlers ) ) { $ this -> handlers = array_merge ( $ this -> handlers , $ handlers ) ; } else { $ this -> handlers [ ] = $ handlers ; } return $ this ; }
Add something to application stack
@param mixed $handlers
@return $this
Add something to application stack