Hi there! Actually, both "staticphp" AND "static-php" show up in the code, so there's definitely a problem. There's a parameter called "doctrine.orm.metadata.staticphp_class", which makes me agree with you that "staticphp" is the correct one.
So, to everyone - is it "staticphp" or "static-php"? Once we get a word, it should be made consistent in the code (grep the code for both) and the docs updated if necessary. Thanks! Ryan Weaver US Office Head & Trainer - KnpLabs - Nashville, TN http://www.knplabs.com <http://www.knplabs.com/en> http://www.thatsquality.com Twitter: @weaverryan On Sun, Mar 27, 2011 at 9:52 PM, lubomir1971 lubomir <[email protected]>wrote: > Hello! > > In doc ( > http://symfony.com/doc/2.0/book/doctrine/orm/configuration.html#mapping-configuration > ) we can read: > > type One of "annotation", "xml", "yml", "php" or "static-php". > > but in code ( AbstractDoctrineExtension.php ) i see: > > if (!in_array($mappingConfig['type'], array('xml', 'yml', > 'annotation', 'php', 'staticphp'))) { > > > Seems right way change 'staticphp' to 'static-php' > > -- > 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/symfony-devs?hl=en > -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
