Skip to content

Commit 862e886

Browse files
committed
ci
1 parent a023d9d commit 862e886

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

examples/compose.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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+
}

0 commit comments

Comments
 (0)