Skip to content

Loading…

DDC-1235: Provide fluent interfaces in stub methods #1844

Closed
doctrinebot opened this Issue · 3 comments

2 participants

@doctrinebot

Jira issue originally created by user h-andreas:

Or maybe some template-files could be provided for all stubs.

private static $_setMethodTemplate =
'/****
 * <description>
 *
 * @param <variableType>$<variableName>
 */
public function <methodName>(<methodTypeHint>$<variableName>)
{
<spaces>$this-><fieldName> = $<variableName>;

<spaces>return $this;</spaces>
}';
@doctrinebot

Comment created by stof:

@beberlei this should be closed as it is the case since 2.2

@doctrinebot

Comment created by @deeky666:

Fixed in commit: 2b33497

@doctrinebot

Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.2 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.