Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8906201
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T02:35:31+00:00 2026-06-15T02:35:31+00:00

When generating a bundle, are TitleCase names valid? For example with Acme\TitleCaseBundle Symfony2 will

  • 0

When generating a bundle, are TitleCase names valid? For example with Acme\TitleCaseBundle Symfony2 will automatically assume routes are to be prefixed with acme_title_case, services are acme_title_case.example: and in Acme\TitleCaseBundle\DependencyInjection\Configuration, the root node for the configuration tree is found with this method

<?php
// ...

public function getConfigTreeBuilder()
{
    $treeBuilder = new TreeBuilder();
    $rootNode = $treeBuilder->root('acme_title_case');
    // ...
}

It’s supposed to be acme_titlecase !

Trying to correct these, then adding acme_titlecase: ~ to app/config/config.yml will throw this error

InvalidArgumentException: There is no extension able to load the configuration for 
"acme_titlecase" (in /Users/me/Sites/MySite/app/config/config.yml).
Looked for namespace "acme_titlecase", 
found "framework", "another_namespace", ... , "acme_title_case", ...
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T02:35:34+00:00Added an answer on June 15, 2026 at 2:35 am

    Thanks to a post by Matthias Noback, the solution is to override getAlias() method and return whatever you like.

    <?php
    
    namespace Acme\TitleCaseBundle\DependencyInjection;
    
    // ...
    
    class AcmeTitleCaseExtension extends Extension
    {
        // ...
    
        public function getAlias()
        {
            return 'acme_titlecase';
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question is quite specific. I'm using Symfony2 White October Admin Bundle for generating
Maybe something similar to the generate:bundle command (which after generating the bundle prompts to
I have a Symfony2 application, with a bundle that have a couple of entities
I am having trouble generating ssl certs that Heroku will accept for secure.mydomain.com. I'm
Generating normal columnar data in excel file is quite easy but does any one
While generating an XML content, I get an empty node <node/> , and I
Am generating a hidden fields like so: @helper.input(_form(userID), '_label-> None) { (id, name, value,
Im generating a file to present to the user for download, but the server
when generating python wrappers with swig the python wrapper classes in the generated python
When generating models from postgresql with ColdFusion Illudium Code generator the boolean values get

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.