Skip to content

Commit

Permalink
chore: Do not expose CommonContent properties @id IRI
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroisemaupate committed Nov 18, 2024
1 parent 24d0c7f commit 8ecc6a5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Api/Model/CommonContent.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,23 @@ final class CommonContent
public ?NodesSources $errorPage = null;

#[Groups(['common_content'])]
#[ApiProperty(
identifier: false,
genId: false,
)]
public ?NodesSourcesHeadInterface $head = null;

#[Groups(['common_content'])]
#[ApiProperty(
identifier: false,
genId: false,
)]
public ?array $menus = null;

#[Groups(['common_content'])]
#[ApiProperty(
identifier: false,
genId: false,
)]
public ?array $footers = null;
}

0 comments on commit 8ecc6a5

Please sign in to comment.