-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Document the new Class Map generator (Symfony 2.1) #1134
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
Comments
@weaverryan this should get a 'Actionable' and 'Missing Docs' label. |
Hmm, after looking at this I think this should be closed. Packages without proper autoloading should be configured using Composer. I don't see any value of the What do you think @fabpot, @cordoval, @weaverryan ? |
I agree - is there a use-case for this class at this point? If there is, that would make documenting it much easier anyways :). |
@fabpot Do you have an actual use-case for the class map generator? |
@xabbuh assume you include a 3th party project which doesn't have autoloading. It doesn't follow the PEAR or PSR standards, so there is no way you can write an autoloader for it instead of hardcoding all paths for each classes. In such cases, you can simply use the class map generator, which will generate a class map of all classes of that project and their location, so you can use that map in your autoloader. |
…pGenerator class (xabbuh) This PR was merged into the 2.3 branch. Discussion ---------- [Components][ClassLoader] documentation for the ClassMapGenerator class | Q | A | ------------- | --- | Doc fix? | no | New docs? | yes (symfony/symfony#2471) | Applies to | all | Fixed tickets | #1134 Commits ------- 2ebe6c3 documentation for the ClassMapGenerator class
With #4081 being merged, this can be closed. |
A cookbook explaining why and how you can use the new class map generator (refs symfony/symfony#3394).
The text was updated successfully, but these errors were encountered: