protected function createFunctionFromAttributeName($prefixFunction, $attributeName, $stubTemplate)
{
$function = $this->attributeNameToFunction($prefixFunction, $attributeName);
// change to stub?
return $this->createAttributeFunction($stubTemplate, $function, $attributeName);
}