File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed
Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,6 @@ services:
132132 indices.requests.cache.maximum_cacheable_size : 256
133133 DISABLE_SECURITY_PLUGIN : true
134134 OPENSEARCH_JAVA_OPTS : ' -Xms512m -Xmx512m'
135- OPENSEARCH_INITIAL_ADMIN_PASSWORD : ' symfony'
136135 ulimits :
137136 memlock :
138137 soft : -1
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ /*
4+ * This file is part of the Symfony package.
5+ *
6+ * (c) Fabien Potencier <fabien@symfony.com>
7+ *
8+ * For the full copyright and license information, please view the LICENSE
9+ * file that was distributed with this source code.
10+ */
11+
12+ namespace Symfony \AI \Platform \Message ;
13+
14+ use Symfony \Component \Uid \AbstractUid ;
15+ use Symfony \Component \Uid \TimeBasedUidInterface ;
16+
17+ /**
18+ * @author Guillaume Loulier <personal@guillaumeloulier.fr>
19+ */
20+ trait UuidAwareTrait
21+ {
22+ private AbstractUid &TimeBasedUidInterface $ uuid ;
23+
24+ public function withUuid (AbstractUid &TimeBasedUidInterface $ uuid ): void
25+ {
26+ $ this ->uuid = $ uuid ;
27+ }
28+
29+ public function getUUid (): AbstractUid &TimeBasedUidInterface
30+ {
31+ return $ this ->uuid ;
32+ }
33+ }
You can’t perform that action at this time.
0 commit comments