public function ContainerTest::dataForTestUnderscore in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/ContainerTest.php \Symfony\Component\DependencyInjection\Tests\ContainerTest::dataForTestUnderscore()
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ ContainerTest.php, line 66
Class
Namespace
Symfony\Component\DependencyInjection\TestsCode
public function dataForTestUnderscore() {
return array(
array(
'FooBar',
'foo_bar',
),
array(
'Foo_Bar',
'foo.bar',
),
array(
'Foo_BarBaz',
'foo.bar_baz',
),
array(
'FooBar_BazQux',
'foo_bar.baz_qux',
),
array(
'_Foo',
'.foo',
),
array(
'Foo_',
'foo.',
),
);
}