public function setArguments(Arguments $args)
    {
        if ($this->isUpdating()) {
            throw BuilderException::isUpdating();
        }

        $this->arguments = $args;
    }
public function setArguments(Arguments $args)
    {
        if ($this->isUpdating()) {
            throw BuilderException::isUpdating();
        }

        $this->arguments = $args;
    }
public function setArguments ( Arguments $ args ) { if ( $ this -> isUpdating ( ) ) { throw BuilderException :: isUpdating ( ) ; } $ this -> arguments = $ args ; }
Sets the method arguments to be used for an observer update.

This method will set the arguments passed to the method this subject
is for.

$subject->setArguments($arguments);

Note that the arguments can only be changed before or after a subject
has been updated, and not during. Doing so will trigger an exception
since all the work any observer would have done will be lost.

@param Arguments $args The managed method arguments.

@throws BuilderException If an observer update is in progress.

@api
Sets the method arguments to be used for an observer update .