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

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

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

- Jon

On Sun, Nov 9, 2008 at 8:18 AM, Eus <[EMAIL PROTECTED]> wrote:

>
> Hi Ho!
>
> I think symfony hackers can address this question better than regular
> users.
>
> I have a question that has been raised here:
> http://www.symfony-project.org/forum/index.php/m/37580/#msg_ 59066
>
> But, it hasn't got any answer.
>
> I have peruse the following documentation:
>
> http://www.symfony-project.org/book/1_0/06-Inside-the-Controller-Layer#Filters
>
> But, there is no explanation about this.
>
> Basically, in an application configuration file called filters.yml, what is
> the difference between:
>
> --- 8< ---
> security:
>    class: sfGuardBasicSecurityFilter
> --- 8< ---
>
> And
>
> --- 8< ---
> security:  ~
>    class: sfGuardBasicSecurityFilter
> --- 8< ---
>
> Specifically, will the omission of `~' will have an effect in any way?
>
> Thank you.
>
> Best regards,
> Eus
>
>
>
>
> >
>


-- 
Jonathan H. Wage
Open Source Software Developer & Evangelist
http://www.jwage.com
http://www.doctrine-project.org
http://www.symfony-project.org

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