3 declare(strict_types=1);
32 foreach ($this->class_names as
$name) {
67 $finder->class_names = [
72 $expected = [TestClass1::class, TestClass3::class];
73 $result = iterator_to_array($finder->getMatchingClassNames(TestInterface1::class));
74 $this->assertEquals($expected, $result);
80 $finder->class_names = [
85 $expected = [TestClass2::class, TestClass3::class];
86 $result = iterator_to_array($finder->getMatchingClassNames(TestInterface2::class));
87 $this->assertEquals($expected, $result);
93 $finder->class_names = [
99 $result = iterator_to_array($finder->getMatchingClassNames(TestInterface3::class));
100 $this->assertEquals($expected, $result);
getAllClassNames(array $additional_ignore, string $matching_path=null)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...