protected function getMutator(Field $field, $content)
    {
        $stub = $this->getStubContent('model-mutator');

        $this->replaceFieldName($stub, $field->name)
            ->replaceFieldContent($stub, $content);

        return $stub;
    }
protected function getMutator(Field $field, $content)
    {
        $stub = $this->getStubContent('model-mutator');

        $this->replaceFieldName($stub, $field->name)
            ->replaceFieldContent($stub, $content);

        return $stub;
    }
protected function getMutator ( Field $ field , $ content ) { $ stub = $ this -> getStubContent ( 'model-mutator' ) ; $ this -> replaceFieldName ( $ stub , $ field -> name ) -> replaceFieldContent ( $ stub , $ content ) ; return $ stub ; }
Gets mutator for a given field.

@param  CrestApps\CodeGenerator\Models\Field  $field
@param  string $content

@return string
Gets mutator for a given field .