public function getMethod($methodName)
    {
        if ($methodName === '__construct') {
            return $this->getConstructor();
        }
        if (!isset($this->methods[$methodName])) {
            $this->methods[$methodName] = new ProxyMethod($this->fullOriginalClassName, $methodName);
            $this->methods[$methodName]->injectReflectionService($this->reflectionService);
        }
        return $this->methods[$methodName];
    }
public function getMethod($methodName)
    {
        if ($methodName === '__construct') {
            return $this->getConstructor();
        }
        if (!isset($this->methods[$methodName])) {
            $this->methods[$methodName] = new ProxyMethod($this->fullOriginalClassName, $methodName);
            $this->methods[$methodName]->injectReflectionService($this->reflectionService);
        }
        return $this->methods[$methodName];
    }
public function getMethod ( $ methodName ) { if ( $ methodName === '__construct' ) { return $ this -> getConstructor ( ) ; } if ( ! isset ( $ this -> methods [ $ methodName ] ) ) { $ this -> methods [ $ methodName ] = new ProxyMethod ( $ this -> fullOriginalClassName , $ methodName ) ; $ this -> methods [ $ methodName ] -> injectReflectionService ( $ this -> reflectionService ) ; } return $ this -> methods [ $ methodName ] ; }
Returns the named ProxyMethod for this ProxyClass. Creates it if needed.

@param string $methodName The name of the methods to return
@return ProxyMethod
Returns the named ProxyMethod for this ProxyClass . Creates it if needed .