Iber\Generator\Utilities\SetGetGenerator::createFunctionFromAttributeName PHP Method

createFunctionFromAttributeName() protected method

Builds the funciton and creates the function from the stub template
protected createFunctionFromAttributeName ( string $prefixFunction, string $attributeName, string $stubTemplate ) : string
$prefixFunction string
$attributeName string
$stubTemplate string
return string
    protected function createFunctionFromAttributeName($prefixFunction, $attributeName, $stubTemplate)
    {
        $function = $this->attributeNameToFunction($prefixFunction, $attributeName);
        // change to stub?
        return $this->createAttributeFunction($stubTemplate, $function, $attributeName);
    }