1
0
mirror of synced 2024-12-14 23:26:04 +03:00

Merge pull request #270 from bmichotte/master

Fluent interface and relations
This commit is contained in:
Benjamin Eberlei 2012-02-20 00:24:07 -08:00
commit 5d352389b7

View File

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