Doctrine Common
  1. Doctrine Common
  2. DCOM-186

[GH-269] ProxyGenerator eval() proxy code when $autoGenerate is true

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of mnapoli:

      Url: https://github.com/doctrine/common/pull/269

      Message:

      ProxyGenerator eval() proxy code instead of writing it to disk when $autoGenerate is true.

      Related to DDC-2210(http://www.doctrine-project.org/jira/browse/DDC-2210)

      The idea of eval() the proxy code was suggested by @ocramius in response to the fact that in dev environment, concurrent file writes create errors.

      This would also simplify the setup for a dev environment: no more proxy directory to create and make writeable.

        Activity

        Benjamin Eberlei created issue -
        Marco Pivetta made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Benjamin Eberlei [ beberlei ] Marco Pivetta [ ocramius ]
        Resolution Won't Fix [ 2 ]

          People

          • Assignee:
            Marco Pivetta
            Reporter:
            Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: