You are here

public function ContainerTest::underscoreCamelizeDataProvider in Service Container 7.2

Same name and namespace in other branches
  1. 7 tests/src/DependencyInjection/ContainerTest.php \Drupal\Tests\service_container\DependencyInjection\ContainerTest::underscoreCamelizeDataProvider()

Data Provider for ::underscore and ::camelize.

File

tests/src/DependencyInjection/ContainerTest.php, line 384
Contains \Drupal\Tests\service_container\DependencyInjection\ContainerTest

Class

ContainerTest
@coversDefaultClass \Drupal\service_container\DependencyInjection\Container @group dic

Namespace

Drupal\Tests\service_container\DependencyInjection

Code

public function underscoreCamelizeDataProvider() {
  return array(
    array(
      'service_container',
      'ServiceContainer',
    ),
    array(
      'service_container_symfony',
      'ServiceContainerSymfony',
    ),
    array(
      '123service_container',
      '123serviceContainer',
    ),
    array(
      '123service_container_symfony',
      '123serviceContainerSymfony',
    ),
    array(
      '123service_container',
      '123serviceContainer',
    ),
    array(
      '123service_container_symfony',
      '123serviceContainerSymfony',
    ),
  );
}