ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Tests\Setup\TestAbstractOfFinder Class Reference
+ Inheritance diagram for ILIAS\Tests\Setup\TestAbstractOfFinder:
+ Collaboration diagram for ILIAS\Tests\Setup\TestAbstractOfFinder:

Public Member Functions

 getMatchingClassNames (callable $matcher)
 
- Public Member Functions inherited from ILIAS\Setup\AbstractOfFinder
 __construct ()
 

Data Fields

array $class_names = []
 

Protected Member Functions

 getAllClassNames (array $additional_ignore, ?string $matching_path=null)
 
- Protected Member Functions inherited from ILIAS\Setup\AbstractOfFinder
 genericGetMatchingClassNames (callable $is_matching, array $additional_ignore=[], ?string $matching_path=null)
 The matcher finds the class names implementing the given interface, while ignoring paths in self::$ignore and and the additional patterns provided. More...
 
 getAllClassNames (array $additional_ignore, ?string $matching_path=null)
 

Additional Inherited Members

- Protected Attributes inherited from ILIAS\Setup\AbstractOfFinder
string $root
 
array $ignore
 
array $classmap = null
 

Detailed Description

Definition at line 28 of file ClassFinderTest.php.

Member Function Documentation

◆ getAllClassNames()

ILIAS\Tests\Setup\TestAbstractOfFinder::getAllClassNames ( array  $additional_ignore,
?string  $matching_path = null 
)
protected

Definition at line 32 of file ClassFinderTest.php.

32  : \Iterator
33  {
34  foreach ($this->class_names as $class_name) {
35  yield $class_name;
36  }
37  }

◆ getMatchingClassNames()

ILIAS\Tests\Setup\TestAbstractOfFinder::getMatchingClassNames ( callable  $matcher)
Returns
<>

Definition at line 42 of file ClassFinderTest.php.

References ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\from(), ILIAS\Setup\AbstractOfFinder\genericGetMatchingClassNames(), and null.

42  : \Iterator
43  {
44  yield from $this->genericGetMatchingClassNames($matcher, [], null);
45  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
genericGetMatchingClassNames(callable $is_matching, array $additional_ignore=[], ?string $matching_path=null)
The matcher finds the class names implementing the given interface, while ignoring paths in self::$ig...
+ Here is the call graph for this function:

Field Documentation

◆ $class_names

array ILIAS\Tests\Setup\TestAbstractOfFinder::$class_names = []

Definition at line 30 of file ClassFinderTest.php.


The documentation for this class was generated from the following file: