public function prependAttempt(callable $middleware, $name = null)
    {
        $this->add(self::ATTEMPT, $name, $middleware, true);
    }
public function prependAttempt(callable $middleware, $name = null)
    {
        $this->add(self::ATTEMPT, $name, $middleware, true);
    }
public function prependAttempt ( callable $ middleware , $ name = null ) { $ this -> add ( self :: ATTEMPT , $ name , $ middleware , true ) ; }
Prepend a middleware to the attempt step.

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