├── .github └── workflows │ └── php.yml ├── .gitignore ├── Makefile ├── README.md ├── composer.json ├── phpstan.neon ├── phpunit.xml ├── src ├── Aggregator.php ├── Exceptions │ ├── DriverOverwrittenException.php │ └── DriverResolutionException.php └── Manager.php └── tests ├── AggregatorTest.php ├── ManagerTest.php └── Stubs ├── Contracts └── Driver.php ├── Drivers ├── BarDriver.php └── FooDriver.php └── StubManager.php /.github/workflows/php.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeGraciaMathieu/Manager/HEAD/.github/workflows/php.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | tests/reports/ 2 | vendor/ 3 | .phpunit.result.cache 4 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeGraciaMathieu/Manager/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeGraciaMathieu/Manager/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeGraciaMathieu/Manager/HEAD/composer.json -------------------------------------------------------------------------------- /phpstan.neon: -------------------------------------------------------------------------------- 1 | parameters: 2 | level: 5 3 | paths: 4 | - src -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeGraciaMathieu/Manager/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/Aggregator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeGraciaMathieu/Manager/HEAD/src/Aggregator.php -------------------------------------------------------------------------------- /src/Exceptions/DriverOverwrittenException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeGraciaMathieu/Manager/HEAD/src/Exceptions/DriverOverwrittenException.php -------------------------------------------------------------------------------- /src/Exceptions/DriverResolutionException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeGraciaMathieu/Manager/HEAD/src/Exceptions/DriverResolutionException.php -------------------------------------------------------------------------------- /src/Manager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeGraciaMathieu/Manager/HEAD/src/Manager.php -------------------------------------------------------------------------------- /tests/AggregatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeGraciaMathieu/Manager/HEAD/tests/AggregatorTest.php -------------------------------------------------------------------------------- /tests/ManagerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeGraciaMathieu/Manager/HEAD/tests/ManagerTest.php -------------------------------------------------------------------------------- /tests/Stubs/Contracts/Driver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeGraciaMathieu/Manager/HEAD/tests/Stubs/Contracts/Driver.php -------------------------------------------------------------------------------- /tests/Stubs/Drivers/BarDriver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeGraciaMathieu/Manager/HEAD/tests/Stubs/Drivers/BarDriver.php -------------------------------------------------------------------------------- /tests/Stubs/Drivers/FooDriver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeGraciaMathieu/Manager/HEAD/tests/Stubs/Drivers/FooDriver.php -------------------------------------------------------------------------------- /tests/Stubs/StubManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeGraciaMathieu/Manager/HEAD/tests/Stubs/StubManager.php --------------------------------------------------------------------------------