Joli\Jane\Generator\Naming::getPrefixedMethodName PHP Method

getPrefixedMethodName() public method

Get a method name given a prefix
public getPrefixedMethodName ( $prefix, $name ) : string
$prefix
$name
return string
    public function getPrefixedMethodName($prefix, $name)
    {
        $name = $this->replaceDollar($name);
        return sprintf("%s%s", $prefix, Inflector::classify($name));
    }