Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some fixes for bundle best practices #5312

Merged
merged 1 commit into from
Aug 8, 2015
Merged

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented May 25, 2015

Q A
Doc fix? yes
New docs? no
Applies to all
Fixed tickets -

@@ -155,13 +142,13 @@ Classes

The bundle directory structure is used as the namespace hierarchy. For
instance, a ``HelloController`` controller is stored in
Copy link
Member

Choose a reason for hiding this comment

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

This phrase looks confusing to me:

A HelloController is stored in HelloBundle/Controller/HelloController.php
and the fully qualified class name is ...

It seems like it's mandatory to store the controller in that exact path (but only the controller name is mandatory). What about changing it slightly by:

If a HelloController is stored in HelloBundle/Controller/HelloController.php,
the fully qualified class name is ...

@javiereguiluz
Copy link
Member

👍 great changes Wouter! Thanks.

@weaverryan weaverryan merged commit c2f39b4 into 2.3 Aug 8, 2015
weaverryan added a commit that referenced this pull request Aug 8, 2015
This PR was merged into the 2.3 branch.

Discussion
----------

Some fixes for bundle best practices

| Q | A
| --- | ---
| Doc fix? | yes
| New docs? | no
| Applies to | all
| Fixed tickets | -

Commits
-------

c2f39b4 Some fixes for bundle best practices
@weaverryan weaverryan deleted the bundle-best-practices branch August 8, 2015 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants