Commit 65536142 authored by jwage's avatar jwage

[2.0] Fixing issue with EntityGenerator and spaces/formatting

parent 42c55628
......@@ -83,6 +83,7 @@ class EntityGenerator
'<?php
<namespace><use>
<entityAnnotation>
<entityClassName>
{
......@@ -91,10 +92,10 @@ class EntityGenerator
private static $_getMethodTemplate =
'/**
* <description>
*
* @return <variableType>$<variableName>
*/
* <description>
*
* @return <variableType>$<variableName>
*/
public function <methodName>()
{
return $this-><fieldName>;
......@@ -102,10 +103,10 @@ public function <methodName>()
private static $_setMethodTemplate =
'/**
* <description>
*
* @param <variableType>$<variableName>
*/
* <description>
*
* @param <variableType>$<variableName>
*/
public function <methodName>(<methodTypeHint>$<variableName>)
{
$this-><fieldName> = $<variableName>;
......@@ -113,10 +114,10 @@ public function <methodName>(<methodTypeHint>$<variableName>)
private static $_addMethodTemplate =
'/**
* <description>
*
* @param <variableType>$<variableName>
*/
* <description>
*
* @param <variableType>$<variableName>
*/
public function <methodName>(<methodTypeHint>$<variableName>)
{
$this-><fieldName>[] = $<variableName>;
......@@ -124,8 +125,8 @@ public function <methodName>(<methodTypeHint>$<variableName>)
private static $_lifecycleCallbackMethodTemplate =
'/**
* @<name>
*/
* @<name>
*/
public function <methodName>()
{
// Add your code here
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment