99use Doctrine \Common \Collections \ArrayCollection ;
1010use Doctrine \Common \Collections \Collection ;
1111use Doctrine \ORM \Mapping as ORM ;
12+ use Symfony \Component \Serializer \Annotation \Groups ;
1213
1314#[ORM \Entity(repositoryClass: InstallationRepository::class)]
1415#[ORM \AssociationOverrides([
@@ -26,21 +27,27 @@ class Installation extends AbstractHandlerResult implements \Stringable
2627 private Collection $ sites ;
2728
2829 #[ORM \Column(type: 'string ' , length: 10 , nullable: true )]
30+ #[Groups(['export ' ])]
2931 private ?string $ type = 'unknown ' ;
3032
3133 #[ORM \Column(type: 'string ' , length: 10 , nullable: true )]
34+ #[Groups(['export ' ])]
3235 private ?string $ phpVersion = 'unknown ' ;
3336
3437 #[ORM \Column(type: 'string ' , length: 10 , nullable: true )]
38+ #[Groups(['export ' ])]
3539 private ?string $ composerVersion = 'unknown ' ;
3640
3741 #[ORM \Column(type: 'string ' , length: 10 , nullable: true )]
42+ #[Groups(['export ' ])]
3843 private ?string $ frameworkVersion = FrameworkTypes::UNKNOWN ;
3944
4045 #[ORM \Column(type: 'boolean ' )]
46+ #[Groups(['export ' ])]
4147 private bool $ lts = false ;
4248
4349 #[ORM \Column(type: 'string ' , length: 30 )]
50+ #[Groups(['export ' ])]
4451 private string $ eol = '' ;
4552
4653 #[ORM \Column(type: 'text ' )]
0 commit comments