merged branch ruian/issue-3992 (PR #4006)

Commits
-------

45ada32 Add Support for boolean as to string into yaml extension

Discussion
----------

Add Support for boolean as to string into yaml extension

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: 3992
Todo:
- Maybe use only boolean checker instead of YamlDumper->dump
This commit is contained in:
Fabien Potencier 2012-04-19 13:01:39 +02:00
commit 3c62ebf52e

View File

@ -52,7 +52,7 @@ class YamlExtension extends \Twig_Extension
return '%'.gettype($value).'% '.$this->encode($value);
}
return $value;
return $this->encode($value);
}
/**