private function denormalizeTemporaryFixture(
        FixtureBag $builtFixtures,
        string $className,
        array $specs,
        FlagBag $flags
    ): array {
        $tempFixtureId = uniqid('temporary_id');
        $builtFixtures = $this->denormalizer->denormalize(
            $builtFixtures,
            $className,
            $tempFixtureId,
            $specs,
            $flags
        );

        $tempFixture = $builtFixtures->get($tempFixtureId);
        $builtFixtures = $builtFixtures->without($tempFixture);

        return [$tempFixture, $builtFixtures];
    }
private function denormalizeTemporaryFixture(
        FixtureBag $builtFixtures,
        string $className,
        array $specs,
        FlagBag $flags
    ): array {
        $tempFixtureId = uniqid('temporary_id');
        $builtFixtures = $this->denormalizer->denormalize(
            $builtFixtures,
            $className,
            $tempFixtureId,
            $specs,
            $flags
        );

        $tempFixture = $builtFixtures->get($tempFixtureId);
        $builtFixtures = $builtFixtures->without($tempFixture);

        return [$tempFixture, $builtFixtures];
    }
private function denormalizeTemporaryFixture ( FixtureBag $ builtFixtures , string $ className , array $ specs , FlagBag $ flags ) : array { $ tempFixtureId = uniqid ( 'temporary_id' ) ; $ builtFixtures = $ this -> denormalizer -> denormalize ( $ builtFixtures , $ className , $ tempFixtureId , $ specs , $ flags ) ; $ tempFixture = $ builtFixtures -> get ( $ tempFixtureId ) ; $ builtFixtures = $ builtFixtures -> without ( $ tempFixture ) ; return [ $ tempFixture , $ builtFixtures ] ; }
Helper method which uses the denormalizer to denormalize a fixture with the given properties but with a random
ID. The ID used and with the fixtures are returned.

This helper is used to optimize the number of call made on the decorated denormalizer: instead of building the
IDs from the list or the range, and then denormalizing as many time as needed, the denormalization is done only
once.
Helper method which uses the denormalizer to denormalize a fixture with the given properties but with a random ID . The ID used and with the fixtures are returned .