We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 862e886 commit b3c802aCopy full SHA for b3c802a
examples/commands/stores.php
@@ -33,6 +33,7 @@
33
use Symfony\AI\Store\Command\DropStoreCommand;
34
use Symfony\AI\Store\Command\SetupStoreCommand;
35
use Symfony\Component\Cache\Adapter\ArrayAdapter;
36
+use Symfony\Component\Clock\MonotonicClock;
37
use Symfony\Component\Console\Application;
38
use Symfony\Component\Console\Input\ArrayInput;
39
use Symfony\Component\Console\Output\ConsoleOutput;
@@ -139,6 +140,9 @@
139
140
new DropStoreCommand(new ServiceLocator($factories)),
141
]);
142
143
+$clock = new MonotonicClock();
144
+$clock->sleep(10);
145
+
146
foreach ($storesIds as $store) {
147
$setupOutputCode = $application->run(new ArrayInput([
148
'command' => 'ai:store:setup',
0 commit comments