public function ParameterBagTest::stringsWithSpacesProvider in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/dependency-injection/Tests/ParameterBag/ParameterBagTest.php \Symfony\Component\DependencyInjection\Tests\ParameterBag\ParameterBagTest::stringsWithSpacesProvider()
File
- vendor/
symfony/ dependency-injection/ Tests/ ParameterBag/ ParameterBagTest.php, line 270
Class
Namespace
Symfony\Component\DependencyInjection\Tests\ParameterBagCode
public function stringsWithSpacesProvider() {
return array(
array(
'bar',
'%foo%',
'Parameters must be wrapped by %.',
),
array(
'% foo %',
'% foo %',
'Parameters should not have spaces.',
),
array(
'{% set my_template = "foo" %}',
'{% set my_template = "foo" %}',
'Twig-like strings are not parameters.',
),
array(
'50% is less than 100%',
'50% is less than 100%',
'Text between % signs is allowed, if there are spaces.',
),
);
}