public function appendMethod(iterators\phpMethod $phpMethod) { $this->methods[] = $phpMethod; return $this->append($phpMethod); }