Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1235

Provide fluent interfaces in stub methods

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      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>
      }';
      

        Activity

        Andreas Hörnicke created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Workflow jira [ 12757 ] jira-feedback [ 13941 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 13941 ] jira-feedback2 [ 15805 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 15805 ] jira-feedback3 [ 18061 ]
        Hide
        Christophe Coevoet added a comment -

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

        Show
        Christophe Coevoet added a comment - @beberlei this should be closed as it is the case since 2.2
        Show
        Steve Müller added a comment - Fixed in commit: https://github.com/doctrine/doctrine2/commit/2b334977f536e0d4f473ed1faa748d8c37de97db
        Steve Müller made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.2 [ 10157 ]
        Resolution Fixed [ 1 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-1235, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Andreas Hörnicke
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: