src/Mock/Builder/Method/MethodDefinitionCollection.php
public function methodName(string $name): string
    {
        $name = strtolower($name);

        return $this->methodNames[$name] ?? '';
    }
public function methodName(string $name): string
    {
        $name = strtolower($name);

        return $this->methodNames[$name] ?? '';
    }
public function methodName ( string $ name ) : string { $ name = strtolower ( $ name ) ; return $ this -> methodNames [ $ name ] ?? '' ; }
Get the canonical method name for the supplied method name.

@param string $name The method name.

@return string The canonical method name, or an empty string if no such method exists.
Get the canonical method name for the supplied method name .