This will throw when trying to create a service while already in the process of creating that same service, i.e., if there's a circular service dependency. This would have saved me a whole bunch of debugging time. :) Change-Id: Id148d4f221f35f4069f3e0ab0069d13ca271df3d
10 lines
131 B
PHP
10 lines
131 B
PHP
<?php
|
|
/**
|
|
* Test file for testing ServiceContainer::loadWiringFiles
|
|
*/
|
|
|
|
return [
|
|
'Bar' => function () {
|
|
return 'Bar!';
|
|
},
|
|
];
|