public function method($methodName, $arg1/*, $arg2, $arg3, ...*/)
    {
        $args = array_slice(func_get_args(), 1);

        return $this->func(function($object) use ($methodName, $args) {
            return call_user_func_array([$object, $methodName], $args);
        });
    }
public function method($methodName, $arg1/*, $arg2, $arg3, ...*/)
    {
        $args = array_slice(func_get_args(), 1);

        return $this->func(function($object) use ($methodName, $args) {
            return call_user_func_array([$object, $methodName], $args);
        });
    }
public function method ( $ methodName , $ arg1 /*, $arg2, $arg3, ...*/ ) { $ args = array_slice ( func_get_args ( ) , 1 ) ; return $ this -> func ( function ( $ object ) use ( $ methodName , $ args ) { return call_user_func_array ( [ $ object , $ methodName ] , $ args ) ; } ) ; }
Add a property extractor to the function chain
@param string $methodName
@param mixed $arg1,... A variable length list of arguments
@return FluentFunction
Add a property extractor to the function chain