Hi Ho!

--- On Mon, 11/10/08, Jonathan Wage <[EMAIL PROTECTED]> wrote:

> Read up on the YAML specification here -
> http://www.yaml.org/spec/

I have perused the spec, but AFAIK it does not mention what will happen in this 
case.

> I think the "---" at the top of the file is just
> indicate the start of a new
> file. It is not required.

Yes.
I put `--- 8< ---' as a code delimiter. Sorry if it is confusing.

> The ~ specifies a blank/null value. In the 2nd example you
> can completely
> omit the ~ after the security:

Does this mean that (security: class: sfGuard...) will be treated by symfony in 
the same way as (security: ~ class: sfGuard...)?

>From the doc, I know that the presence of `~' indicates that symfony should 
>use its default filter. While in the absence of it, symfony should use the 
>class defined in `class: ...' as the filter.

But, what about if both `~' and `class: ...' are specified? The spec does not 
mention that this will be undefined or one will take precedence over the other 
one. If it is undefined, I think it is an error that the users need to be aware 
of.

> - Jon

Best regards,
Eus


      

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to