permissions = new PermissionsEmbed(); } /** * Check if the users of this group are enforced to have two factor authentification (2FA) enabled. * * @return bool */ public function isEnforce2FA(): bool { return $this->enforce2FA; } /** * Sets if the user of this group are enforced to have two factor authentification enabled. * * @param bool $enforce2FA True, if the users of this group are enforced to have 2FA enabled. * * @return $this */ public function setEnforce2FA(bool $enforce2FA): self { $this->enforce2FA = $enforce2FA; return $this; } /** * Returns the ID as an string, defined by the element class. * This should have a form like P000014, for a part with ID 14. * * @return string The ID as a string; */ public function getIDString(): string { return 'G'.sprintf('%06d', $this->getID()); } public function getPermissions(): PermissionsEmbed { return $this->permissions; } }