public function addText($text) {
      if (is_string($text))
          $text = new BaMLText($text);
      if (!($text instanceof BaMLText)) 
          throw new \CatapultApiException("You can only add type BaMLAttribute or array..");
      
      $this->text = $this->text . $text;
    }
public function addText($text) {
      if (is_string($text))
          $text = new BaMLText($text);
      if (!($text instanceof BaMLText)) 
          throw new \CatapultApiException("You can only add type BaMLAttribute or array..");
      
      $this->text = $this->text . $text;
    }
public function addText ( $ text ) { if ( is_string ( $ text ) ) $ text = new BaMLText ( $ text ) ; if ( ! ( $ text instanceof BaMLText ) ) throw new \ CatapultApiException ( "You can only add type BaMLAttribute or array.." ) ; $ this -> text = $ this -> text . $ text ; }
add text. This will append
@param text
add text . This will append