commit
1f59001ff7
@ -115,10 +115,12 @@ public function <methodName>()
|
||||
* <description>
|
||||
*
|
||||
* @param <variableType>$<variableName>
|
||||
* @return <entity>
|
||||
*/
|
||||
public function <methodName>(<methodTypeHint>$<variableName>)
|
||||
{
|
||||
<spaces>$this-><fieldName> = $<variableName>;
|
||||
<spaces>return $this;
|
||||
}';
|
||||
|
||||
private static $_addMethodTemplate =
|
||||
@ -737,7 +739,8 @@ public function <methodName>()
|
||||
'<variableType>' => $variableType,
|
||||
'<variableName>' => Inflector::camelize($fieldName),
|
||||
'<methodName>' => $methodName,
|
||||
'<fieldName>' => $fieldName
|
||||
'<fieldName>' => $fieldName,
|
||||
'<entity>' => $this->_getClassName($metadata)
|
||||
);
|
||||
|
||||
$method = str_replace(
|
||||
|
Loading…
x
Reference in New Issue
Block a user