private function setMethods(MethodContainer $methodContainer) { $this->methods = $methodContainer; return $this; }