public function addNestedText($index, $text) {
      if (!($index <= sizeof($this->verbs))) {
        throw new \CatapultApiException("This verb does not have $index nested verbs");
      }
      $this->verbs[$index]->addText($text);
    }
public function addNestedText($index, $text) {
      if (!($index <= sizeof($this->verbs))) {
        throw new \CatapultApiException("This verb does not have $index nested verbs");
      }
      $this->verbs[$index]->addText($text);
    }
public function addNestedText ( $ index , $ text ) { if ( ! ( $ index <= sizeof ( $ this -> verbs ) ) ) { throw new \ CatapultApiException ( "This verb does not have $index nested verbs" ) ; } $ this -> verbs [ $ index ] -> addText ( $ text ) ; }
adds text to
a nested verb
adds text to a nested verb