ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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
Parameters
string[]$additional_ignore

Reimplemented from ILIAS\Setup\AbstractOfFinder.

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
\Iterator<\Iterator>

Definition at line 42 of file ClassFinderTest.php.

42 : \Iterator
43 {
44 yield from $this->genericGetMatchingClassNames($matcher, [], null);
45 }
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...

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

+ 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: