protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                return call_user_func($pipe, $passable, $stack);
            };
        };
    }
protected function getSlice()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                return call_user_func($pipe, $passable, $stack);
            };
        };
    }
protected function getSlice ( ) { return function ( $ stack , $ pipe ) { return function ( $ passable ) use ( $ stack , $ pipe ) { return call_user_func ( $ pipe , $ passable , $ stack ) ; } ; } ; }
Get the closure that represents a slice.

@return \Closure
Get the closure that represents a slice .