WsdlToPhp\PackageGenerator\Container\Model\Method::getMethodByName PHP Method

getMethodByName() public method

public getMethodByName ( string $name ) : Method | null
$name string
return WsdlToPhp\PackageGenerator\Model\Method | null
    public function getMethodByName($name)
    {
        return $this->get($name);
    }

Usage Example

Example #1
0
 /**
  * Returns the method by its original name
  * @uses Service::getMethods()
  * @uses AbstractModel::getName()
  * @param string $methodName the original method name
  * @return Method|null
  */
 public function getMethod($methodName)
 {
     return $this->methods->getMethodByName($methodName);
 }