mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Optimized Attributes and tests for it
This commit is contained in:
@@ -53,6 +53,9 @@ final class FixtureSourceFactory implements FixtureSourceFactoryInterface
|
||||
return $objects;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public static function getAllFixtureSources(): array
|
||||
{
|
||||
$unfilteredClasses = self::getAllClassesInSourceFixtureNamespace();
|
||||
|
@@ -41,6 +41,8 @@ Checks if the crud, layer and source combination is granted by a right.
|
||||
### Right Layer Combination Service ###
|
||||
Allows to get the possible cruds for a layer, or the possible layers for a crud.
|
||||
## Source Management
|
||||
### Source Class Information Service ###
|
||||
Offers to get all source classes, or source classes by a namespace.
|
||||
### Source Member Information ###
|
||||
Offers to get all source members over all dimensions.
|
||||
### Source Member Manager
|
||||
|
@@ -75,7 +75,7 @@ final class SourceClassInformationService implements SourceClassInformationServi
|
||||
$this->allClasses[] = $this->transformPathToClass($path);
|
||||
}
|
||||
|
||||
private function loadClasses()
|
||||
private function loadClasses(): void
|
||||
{
|
||||
$recursiveDirectoryIterator = new \RecursiveDirectoryIterator(self::FOLDER);
|
||||
$files = new \RecursiveIteratorIterator($recursiveDirectoryIterator, \RecursiveIteratorIterator::SELF_FIRST);
|
||||
|
Reference in New Issue
Block a user