Pop\Code\Generator\InterfaceGenerator::getMethod PHP Method

getMethod() public method

Get a method property
public getMethod ( mixed $method ) : /Pop\Code\MethodGenerator
$method mixed
return /Pop\Code\MethodGenerator
    public function getMethod($method)
    {
        $m = $method instanceof MethodGenerator ? $method->getName() : $method;
        return isset($this->methods[$m]) ? $this->methods[$m] : null;
    }