src/HandlerList.php
public function prependInit(callable $middleware, $name = null)
    {
        $this->add(self::INIT, $name, $middleware, true);
    }
public function prependInit(callable $middleware, $name = null)
    {
        $this->add(self::INIT, $name, $middleware, true);
    }
public function prependInit ( callable $ middleware , $ name = null ) { $ this -> add ( self :: INIT , $ name , $ middleware , true ) ; }
Prepend a middleware to the init step.

@param callable $middleware Middleware function to add.
@param string   $name       Name of the middleware.
Prepend a middleware to the init step .