src/Invoker.php
public function call($closure, array $parameters = [], $buffer = false)
    {
        if ($buffer) {
            \ob_start();
        }

        $rslt = \call_user_func_array($closure, $parameters);

        if ($buffer) {
            return \ob_get_clean();
        }

        return $rslt;
    }
public function call($closure, array $parameters = [], $buffer = false)
    {
        if ($buffer) {
            \ob_start();
        }

        $rslt = \call_user_func_array($closure, $parameters);

        if ($buffer) {
            return \ob_get_clean();
        }

        return $rslt;
    }
public function call ( $ closure , array $ parameters = [ ] , $ buffer = false ) { if ( $ buffer ) { \ ob_start ( ) ; } $ rslt = \ call_user_func_array ( $ closure , $ parameters ) ; if ( $ buffer ) { return \ ob_get_clean ( ) ; } return $ rslt ; }
Call the given Closure with buffering support.

@param callable $closure
Call the given Closure with buffering support .