Skip to content

Proxy methods in CreateCommand may be obsolete #2631

Open
@jmikola

Description

@jmikola

Summary

The processProxy and processDocumentProxy methods in CreateCommand appear to be obsolete.

They were introduced in 373966e prior to 1.0.0. A subsequent commit (56fc267, also included in 1.0.0) introduced GenerateProxiesCommand, so it's not clear if the CreateCommand methods were ever fully utilized. A related bundle commit to integrate the GenerateProxiesCommand is doctrine/DoctrineMongoDBBundle@75d79b6 (it makes no reference to Createcommand).

For 2.0.0, 4681d8b delegated proxy generation to the separate ProxyManager library.

For additional context, see the git-blame on 2.8.x.

It appears these methods are obsolete, as they are not referenced internally, nor from the Symfony bundle. The Laminas integration doesn't appear to work with console commands at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions