src/Support/Pipeline.php
protected function carry(): Closure
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                if ($this->always !== null) {
                    $passable = ($this->always)($passable, $pipe);
                }
                $slice = parent::carry();

                $callable = $slice($stack, $pipe);

                return $callable($passable);
            };
        };
    }
protected function carry(): Closure
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                if ($this->always !== null) {
                    $passable = ($this->always)($passable, $pipe);
                }
                $slice = parent::carry();

                $callable = $slice($stack, $pipe);

                return $callable($passable);
            };
        };
    }
protected function carry ( ) : Closure { return function ( $ stack , $ pipe ) { return function ( $ passable ) use ( $ stack , $ pipe ) { if ( $ this -> always !== null ) { $ passable = ( $ this -> always ) ( $ passable , $ pipe ) ; } $ slice = parent :: carry ( ) ; $ callable = $ slice ( $ stack , $ pipe ) ; return $ callable ( $ passable ) ; } ; } ; }
Get a \Closure that represents a slice of the application onion.

@return \Closure
Get a \ Closure that represents a slice of the application onion .