Skip to content

[Generator] correct createClassNameDetails doc - #1143

Merged
jrushlow merged 1 commit into
symfony:mainfrom
ayyoub-afwallah:patch-3
Jul 5, 2022
Merged

jrushlow merged 1 commit into
symfony:mainfrom
ayyoub-afwallah:patch-3

Conversation

@ayyoub-afwallah

Copy link
Copy Markdown
Contributor

you can use the following test cases in GeneratorTest for a quick verification.

   yield 'example_1' => [
        'Foo\\Admin',
        'Controller',
        'Controller',
        'App\Controller\Foo\AdminController',
        'Foo\AdminController',
    ];`

    yield 'example_2' => [
        'Cool',
        'Security\Voter',
        'Voter',
        'App\Security\Voter\CoolVoter',
        'CoolVoter',
    ];`

@jrushlow jrushlow added the Minor Minor Enhancement label Jul 5, 2022

@jrushlow jrushlow left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @ayyoub-afwallah

@jrushlow
jrushlow merged commit 5d517da into symfony:main Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Minor Minor Enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants