• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

api-platform / core / 17071323229

19 Aug 2025 01:36PM UTC coverage: 0.0%. First build
17071323229

Pull #7225

github

web-flow
Merge 1e726a585 into 020385253
Pull Request #7225: feat: json streamer

0 of 307 new or added lines in 31 files covered. (0.0%)

0 of 52230 relevant lines covered (0.0%)

0.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Hydra/IriTemplate.php
1
<?php
2

3
/*
4
 * This file is part of the API Platform project.
5
 *
6
 * (c) Kévin Dunglas <dunglas@gmail.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
declare(strict_types=1);
13

14
namespace ApiPlatform\Hydra;
15

16
use Symfony\Component\JsonStreamer\Attribute\StreamedName;
17
use Symfony\Component\Serializer\Annotation\SerializedName;
18

19
final class IriTemplate
20
{
21
    #[StreamedName('@type')]
22
    #[SerializedName('@type')]
23
    public string $type = 'IriTemplate';
24

25
    public function __construct(
26
        public string $variableRepresentation,
27
        /** @var list<IriTemplateMapping> */
28
        public array $mapping = [],
29
        public ?string $template = null,
30
    ) {
NEW
31
    }
×
32
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc