public function StaticReflectionParserTest::parentClassData in Plug 7
Return value
array
File
- lib/
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;
}