Skip to content

Recommended namespace in generator LogicException should not be prepended with '\\' #1615

@dduenker

Description

@dduenker

The following exception recommends using the full namespace starting with \\:

throw new \LogicException(\sprintf('Could not determine where to locate the new class "%s", maybe try with a full namespace like "\\My\\Full\\Namespace\\%s"', $classData->getFullClassName(), $classData->getClassName()));

Doing this does not work though, the namespace has to start directly with (for example) App.

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