public function ContainerTest::dataForTestCamelize in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Tests/ContainerTest.php \Symfony\Component\DependencyInjection\Tests\ContainerTest::dataForTestCamelize()
File
- vendor/
symfony/ dependency-injection/ 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',
),
);
}