Skip to content

Commit

Permalink
Added new property 'postsEnabled' to group type model
Browse files Browse the repository at this point in the history
  • Loading branch information
stollr committed Feb 19, 2024
1 parent fef2c19 commit e4f486c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Models/Groups/GroupType/GroupType.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class GroupType extends AbstractModel
protected ?string $namePluralTranslated = null;
protected ?string $nameTranslated = null;
protected ?int $permissionDepth = null;
protected ?bool $postsEnabled = null;
protected ?string $shorty = null;
protected ?int $sortKey = null;
protected ?string $description = null;
Expand Down Expand Up @@ -110,6 +111,17 @@ public function setPermissionDepth(?int $permissionDepth): static
return $this;
}

public function getPostsEnabled(): ?bool
{
return $this->postsEnabled;
}

public function setPostsEnabled(?bool $postsEnabled)
{
$this->postsEnabled = $postsEnabled;
return $this;
}

public function getShorty(): ?string
{
return $this->shorty;
Expand Down

0 comments on commit e4f486c

Please sign in to comment.