withId($id); } if ($name !== null) { $builder->withName($name); } if ($brand !== null) { $builder->withBrand($brand); } return $builder->build(); } public static function createOutput(?string $id = null, ?string $name = null): Output { $builder = IncoSheetTestBuilder::create(); if ($id !== null) { $builder->withId($id); } if ($name !== null) { $builder->withName($name); } return $builder->buildOutput(); } public static function pouletRoti(): IncoSheet { return IncoSheetTestBuilder::create() ->withId('12345') ->withName('Poulet Rôti 1kg') ->withLabel('Poulet Rôti Classe A') ->withDescription('Poulet prêt à cuire') ->withBrand('Le Gaulois', 'LGL01', 504) ->withNutriscore('A') ->build(); } }