|
AbstractInjectedApi |
src/ClassFinder/InjectedApi/AbstractInjectedApi.php |
To help testability, we use an injected API instead of just a return value.
The injected API can be mocked to provide a mocked file_exists(), and to
monitor all suggested candidates, not just the correct return value. |
|
CollectFilesInjectedApi |
src/ClassFinder/InjectedApi/CollectFilesInjectedApi.php |
To help testability, we use an injected API instead of just a return value.
The injected API can be mocked to provide a mocked file_exists(), and to
monitor all suggested candidates, not just the correct return value. |
|
FindFileInjectedApi |
src/ClassFinder/InjectedApi/FindFileInjectedApi.php |
To help testability, we use an injected API instead of just a return value.
The injected API can be mocked to provide a mocked file_exists(), and to
monitor all suggested candidates, not just the correct return value. |
|
InjectedApiInterface |
src/ClassFinder/InjectedApi/InjectedApiInterface.php |
To help testability, we use an injected API instead of just a return value.
The injected API can be mocked to provide a mocked file_exists(), and to
monitor all suggested candidates, not just the correct return value. |
|
LoadClassGetFileInjectedApi |
src/ClassFinder/InjectedApi/LoadClassGetFileInjectedApi.php |
To help testability, we use an injected API instead of just a return value.
The injected API can be mocked to provide a mocked file_exists(), and to
monitor all suggested candidates, not just the correct return value. |
|
LoadClassInjectedAPI |
src/ClassFinder/InjectedApi/LoadClassInjectedAPI.php |
To help testability, we use an injected API instead of just a return value.
The injected API can be mocked to provide a mocked file_exists(), and to
monitor all suggested candidates, not just the correct return value. |