Debian Codegraph @

lib/3rdParty/composer/symfony/serializer/Context/ContextBuilderInterface.php

raw symbols SCIP
1 <?php
2
3 /*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <[email protected]>
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\Component\Serializer\Context;
13
14 /**
15 * Common interface for context builders.
16 *
17 * @author Mathias Arlaud <[email protected]>
18 * @author Robin Chalas <[email protected]>
19 */
20 interface ContextBuilderInterface
21 {
22 /**
23 * @param self|array<string, mixed> $context
24 */
25 public function withContext(self|array $context): static;
26
27 /**
28 * @return array<string, mixed>
29 */
30 public function toArray(): array;
31 }