public function addInteraction(Interaction $interaction, $body){
        $returnValue = false;

        if(!is_null($interaction)){
            $returnValue = $this->getBody()->setElement($interaction, $body);
        }

        return (bool) $returnValue;
    }
public function addInteraction(Interaction $interaction, $body){
        $returnValue = false;

        if(!is_null($interaction)){
            $returnValue = $this->getBody()->setElement($interaction, $body);
        }

        return (bool) $returnValue;
    }
public function addInteraction ( Interaction $ interaction , $ body ) { $ returnValue = false ; if ( ! is_null ( $ interaction ) ) { $ returnValue = $ this -> getBody ( ) -> setElement ( $ interaction , $ body ) ; } return ( bool ) $ returnValue ; }
Short description of method addInteraction

@access public
@author Sam, <sam@taotesting.com>
@param Interaction $interaction
@param $body
@return bool
Short description of method addInteraction