src/Generator/Generator.php
public function getServiceMethod($methodName)
    {
        return $this->getService($this->getServiceName($methodName)) instanceof Service ? $this->getService($this->getServiceName($methodName))->getMethod($methodName) : null;
    }
public function getServiceMethod($methodName)
    {
        return $this->getService($this->getServiceName($methodName)) instanceof Service ? $this->getService($this->getServiceName($methodName))->getMethod($methodName) : null;
    }
public function getServiceMethod ( $ methodName ) { return $ this -> getService ( $ this -> getServiceName ( $ methodName ) ) instanceof Service ? $ this -> getService ( $ this -> getServiceName ( $ methodName ) ) -> getMethod ( $ methodName ) : null ; }
Returns the method
@uses Generator::getServiceName()
@uses Generator::getService()
@uses Service::getMethod()
@param string $methodName the original function name
@return Method|null
Returns the method