Mongolid\Model\Attributes::buildMutatorMethod PHP Method

buildMutatorMethod() protected method

Create mutator method pattern.
protected buildMutatorMethod ( mixed $key, mixed $prefix ) : string
$key mixed Attribute name.
$prefix mixed Method prefix to be used.
return string
    protected function buildMutatorMethod($key, $prefix)
    {
        return $prefix . ucfirst($key) . 'Attribute';
    }