public function addNestedAttribute($index, $attribute) {
      if (!($index <= sizeof($this->verbs))) {
        throw new \CatapultApiException("This verb does not have $index nested verbs");
      }
      $this->verbs[$index]->addAttribute($attribute);
    }
public function addNestedAttribute($index, $attribute) {
      if (!($index <= sizeof($this->verbs))) {
        throw new \CatapultApiException("This verb does not have $index nested verbs");
      }
      $this->verbs[$index]->addAttribute($attribute);
    }
public function addNestedAttribute ( $ index , $ attribute ) { if ( ! ( $ index <= sizeof ( $ this -> verbs ) ) ) { throw new \ CatapultApiException ( "This verb does not have $index nested verbs" ) ; } $ this -> verbs [ $ index ] -> addAttribute ( $ attribute ) ; }
add a nested
attribute
add a nested attribute