Closed spar closed 10 years ago
@sandeepparekh9, which groupings are you referring to? The yaml spec doesn't seem to have any indication to supporting any groupings.
The variables you are referencing are not accessible directly. They keep track of certain internal conditions while parsing YAML text. Spyc is a completely stand-alone YAML implementation, so you will see lots of code that is completely inaccessible from any external-facing functions.
I see. Got it.
What i meant by grouping was that if i wanted to group certain fields into an array / object , how would i do that if possible via spyc.
Example:
NGINX_VHOSTS:
DOMAIN: "example.com" ALIASES: "www.example.com www2.example.com" BIND: "0.0.0.0" (missing) PORT: "80" (missing) NGINX_HTTP_HTTPS_1: "HTTP" NGINX_VHOST_1_WEBSITE_TYPE: "Regular"
Thanks.
Hey man,
First of all, great project. Love and i use it a lot.
I was wondering if you can help me on how i can group fields using your project.
i show some constants like private $_containsGroupAnchor = false; private $_containsGroupAlias = false;
how do i use it?
Thanks Sandeep