File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
tests/_support/Test/AfterAutoloadModule Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 1616use AfterAutoloadModule \Test ;
1717use CodeIgniter \Config \BaseService ;
1818
19+ /**
20+ * Services for testing BaseService::updateServicesCache()
21+ *
22+ * This class should not be discovered by the autoloader until the test adds this namespace to the autoloader.
23+ */
1924class Services extends BaseService
2025{
26+ /**
27+ * Return a shared instance of the Test class for testing
28+ */
2129 public static function test (bool $ getShared = true ): Test
2230 {
2331 if ($ getShared ) {
Original file line number Diff line number Diff line change 1313
1414namespace AfterAutoloadModule ;
1515
16+ /**
17+ * A simple class for testing BaseService::updateServicesCache()
18+ *
19+ * This class should not be discovered by the autoloader until the test adds this namespace to the autoloader.
20+ */
1621class Test
1722{
1823}
You can’t perform that action at this time.
0 commit comments