patches/PersistenceCreator.php
changeset 37 f4fce35327ff
parent 33 5cb77e9211d8
equal deleted inserted replaced
36:011596fe2830 37:f4fce35327ff
    64                     case 'varchar':
    64                     case 'varchar':
    65                     case 'text':
    65                     case 'text':
    66                     case 'char':
    66                     case 'char':
    67                         $type = "string";
    67                         $type = "string";
    68                         break;
    68                         break;
    69                     default: 
    69                     default:
    70                         $type = "string";
    70                         $type = "string";
    71                 }
    71                 }
    72 
    72 
    73                 $content .= sprintf(" * @method %s get%s()\n", $type, $methodName);
    73                 $content .= sprintf(" * @method %s get%s()\n", $type, $methodName);
    74                 $content .= sprintf(" * @method set%s(\$%s)\n", $methodName, $type);
    74                 $content .= sprintf(" * @method set%s(\$%s)\n", $methodName, $type);