Merge pull request #270 from bmichotte/master
Fluent interface and relations
This commit is contained in:
commit
5d352389b7
@ -139,10 +139,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 =
|
||||||
|
Loading…
Reference in New Issue
Block a user