src/Underscore.php
protected function executePayload($payload, $args)
    {
        array_unshift($args, $this->wrapped);

        if ($payload instanceof Mutator) {
            /** @var $payload callable */
            $this->wrapped = call_user_func_array($payload, $args);

            return $this;
        } else {
            return call_user_func_array($payload, $args);
        }
    }
protected function executePayload($payload, $args)
    {
        array_unshift($args, $this->wrapped);

        if ($payload instanceof Mutator) {
            /** @var $payload callable */
            $this->wrapped = call_user_func_array($payload, $args);

            return $this;
        } else {
            return call_user_func_array($payload, $args);
        }
    }
protected function executePayload ( $ payload , $ args ) { array_unshift ( $ args , $ this -> wrapped ) ; if ( $ payload instanceof Mutator ) { /** @var $payload callable */ $ this -> wrapped = call_user_func_array ( $ payload , $ args ) ; return $ this ; } else { return call_user_func_array ( $ payload , $ args ) ; } }
Payload is either Mutator or Accessor. Both are supposed to be callable.

@param callable $payload
@param array    $args
@return $this|mixed
Payload is either Mutator or Accessor . Both are supposed to be callable .