You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Mandango Users
Hi All,
I'm a newbie to Mandango. I was able to test it successfully with
the simple example from the documentation, where the config classes
are set using PHP arrays. Could someone give me a small code example
or point me to documentation on how to use YAML files to set the
config classes? Note that I'm not using Symfony or any framework (I
say this because there is some documentation of using YAML when using
the Mandango bundle for the Symfony framework.)
Thanks,
PC
Pablo Díez
unread,
May 20, 2012, 11:36:00 AM5/20/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mandang...@googlegroups.com
Here an example using the Symfony Yaml component:
use Symfony\Component\Yaml\Yaml;
$configClasses = Yaml::parse($yamlInput);
So now you can use the config classes as usually with the mondator.