Hi Guys,

I'm a little confused about "Naming Conventions". On the 
page 
http://symfony.com/doc/2.0/contributing/code/standards.html#naming-conventions, 
says:

   - Use camelCase, not underscores, for variable, function and method 
   names;
   - Use underscores for option, argument, parameter names;


I've checked some classes of the core, where we can find some methods like:

   - protected function loadOrmEntityManagerMappingInformation(array 
   $entityManager, Definition $ormConfigDef, ContainerBuilder $container)
   - protected function outputServices(OutputInterface $output, $serviceIds, 
   $showPrivate = false)


So, my question is:

Where should I use underscores? For example, $showPrivate isn't a option?

Can anyone enlighten me?

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to