Guest User

Untitled

a guest
Jan 4th, 2013
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. <?php
  2. // ...
  3.  
  4. public function getConfigTreeBuilder()
  5. {
  6. $treeBuilder = new TreeBuilder();
  7. $rootNode = $treeBuilder->root('acme_title_case');
  8. // ...
  9. }
  10.  
  11. InvalidArgumentException: There is no extension able to load the configuration for
  12. "acme_titlecase" (in /Users/me/Sites/MySite/app/config/config.yml).
  13. Looked for namespace "acme_titlecase",
  14. found "framework", "another_namespace", ... , "acme_title_case", ...
  15.  
  16. <?php
  17.  
  18. namespace AcmeTitleCaseBundleDependencyInjection;
  19.  
  20. // ...
  21.  
  22. class AcmeTitleCaseExtension extends Extension
  23. {
  24. // ...
  25.  
  26. public function getAlias()
  27. {
  28. return 'acme_titlecase';
  29. }
  30. }
Add Comment
Please, Sign In to add comment