You are here

public function InstantiatorTest::getInvalidClassNames in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTest/InstantiatorTest.php \DoctrineTest\InstantiatorTest\InstantiatorTest::getInvalidClassNames()

Provides a list of instantiable classes (existing)

Return value

string[][]

File

vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTest/InstantiatorTest.php, line 205

Class

InstantiatorTest
Tests for { @author Marco Pivetta <ocramius@gmail.com>

Namespace

DoctrineTest\InstantiatorTest

Code

public function getInvalidClassNames() {
  $classNames = array(
    array(
      __CLASS__ . uniqid(),
    ),
    array(
      'Doctrine\\Instantiator\\InstantiatorInterface',
    ),
    array(
      'DoctrineTest\\InstantiatorTestAsset\\AbstractClassAsset',
    ),
  );
  if (\PHP_VERSION_ID >= 50400) {
    $classNames[] = array(
      'DoctrineTest\\InstantiatorTestAsset\\SimpleTraitAsset',
    );
  }
  return $classNames;
}