public function override($methodName, $body) { $this->methodsCode[$methodName] = $this->getOverriddenFunction($this->class->getMethod($methodName), $body); return $this; }