1
0
mirror of synced 2025-01-18 14:31:40 +03:00

Add fluent code for relations

This commit is contained in:
Benjamin Michotte 2012-01-24 19:08:25 +01:00
parent aca20fc615
commit 1d2f46bda7

View File

@ -128,10 +128,12 @@ public function <methodName>(<methodTypeHint>$<variableName><variableDefault>)
* <description> * <description>
* *
* @param <variableType>$<variableName> * @param <variableType>$<variableName>
* @return <entity>
*/ */
public function <methodName>(<methodTypeHint>$<variableName>) public function <methodName>(<methodTypeHint>$<variableName>)
{ {
<spaces>$this-><fieldName>[] = $<variableName>; <spaces>$this-><fieldName>[] = $<variableName>;
<spaces>return $this;
}'; }';
private static $_lifecycleCallbackMethodTemplate = private static $_lifecycleCallbackMethodTemplate =