public function StaticReflectionParserTest::parentClassData in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Reflection/StaticReflectionParserTest.php \Doctrine\Tests\Common\Reflection\StaticReflectionParserTest::parentClassData()
Return value
array
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Reflection/ StaticReflectionParserTest.php, line 41
Class
Namespace
Doctrine\Tests\Common\ReflectionCode
public function parentClassData() {
$data = array();
$noParentClassName = 'Doctrine\\Tests\\Common\\Reflection\\NoParent';
$dummyParentClassName = 'Doctrine\\Tests\\Common\\Reflection\\Dummies\\NoParent';
foreach (array(
false,
true,
) as $classAnnotationOptimize) {
$data[] = array(
$classAnnotationOptimize,
$noParentClassName,
$noParentClassName,
);
$data[] = array(
$classAnnotationOptimize,
'Doctrine\\Tests\\Common\\Reflection\\FullyClassifiedParent',
$noParentClassName,
);
$data[] = array(
$classAnnotationOptimize,
'Doctrine\\Tests\\Common\\Reflection\\SameNamespaceParent',
$noParentClassName,
);
$data[] = array(
$classAnnotationOptimize,
'Doctrine\\Tests\\Common\\Reflection\\DeeperNamespaceParent',
$dummyParentClassName,
);
$data[] = array(
$classAnnotationOptimize,
'Doctrine\\Tests\\Common\\Reflection\\UseParent',
$dummyParentClassName,
);
}
return $data;
}