public function addNestedVerb($index, $verb) {
      if (!($index <= sizeof($this->verbs))) {
        throw new \CatapultApiException("This verb does not have $index nested verbs");
      }
      
      $this->verbs[$index]->addVerb($verb);
    }
public function addNestedVerb($index, $verb) {
      if (!($index <= sizeof($this->verbs))) {
        throw new \CatapultApiException("This verb does not have $index nested verbs");
      }
      
      $this->verbs[$index]->addVerb($verb);
    }
public function addNestedVerb ( $ index , $ verb ) { if ( ! ( $ index <= sizeof ( $ this -> verbs ) ) ) { throw new \ CatapultApiException ( "This verb does not have $index nested verbs" ) ; } $ this -> verbs [ $ index ] -> addVerb ( $ verb ) ; }
adds a nested
verb to one
of this verb's
children

@param index: between lower and upper
@param verb: BaML verb
adds a nested verb to one of this verb s children