public function ContainerTest::dataForTestCamelize 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::dataForTestCamelize()
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ ContainerTest.php, line 42
Class
Namespace
Symfony\Component\DependencyInjection\TestsCode
public function dataForTestCamelize() {
return array(
array(
'foo_bar',
'FooBar',
),
array(
'foo.bar',
'Foo_Bar',
),
array(
'foo.bar_baz',
'Foo_BarBaz',
),
array(
'foo._bar',
'Foo_Bar',
),
array(
'foo_.bar',
'Foo_Bar',
),
array(
'_foo',
'Foo',
),
array(
'.foo',
'_Foo',
),
array(
'foo_',
'Foo',
),
array(
'foo.',
'Foo_',
),
array(
'foo\\bar',
'Foo_Bar',
),
);
}