public function next(Request $request)
	{
		// Update the stack position
		$this->position++;

		// Get the next layer
		$layer = $this->layers[$this->position];

		// Call handle on next layer
		return $layer->handle($request);
	}
public function next(Request $request)
	{
		// Update the stack position
		$this->position++;

		// Get the next layer
		$layer = $this->layers[$this->position];

		// Call handle on next layer
		return $layer->handle($request);
	}
public function next ( Request $ request ) { // Update the stack position $ this -> position ++ ; // Get the next layer $ layer = $ this -> layers [ $ this -> position ] ; // Call handle on next layer return $ layer -> handle ( $ request ) ; }
Call next layer in stack

@param   object  $request  Request object
@return  object
Call next layer in stack