-
Notifications
You must be signed in to change notification settings - Fork 490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal: Add session replication, reinscription logic, and child session hierarchy for course expiration - refs BT#22057 #5831
base: master
Are you sure you want to change the base?
Changes from 1 commit
ba4e25b
c3312db
7f6e7ae
3f353ef
2bf9adf
d507e64
66a227d
42f207b
353c19a
238cbdb
e9cca0b
9cbcca1
ba09140
8f8fa4f
7b66599
ad82e0b
3b34dc1
47b034c
8ca3304
4bb5dc7
b21643c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -386,6 +386,9 @@ class Session implements ResourceWithAccessUrlInterface, Stringable | |
#[ORM\Column(name: 'days_to_new_repetition', type: 'integer', nullable: true)] | ||
protected ?int $daysToNewRepetition = null; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line indented incorrectly; expected 8 spaces, found 4 |
||
|
||
#[ORM\Column(name: 'notify_boss', type: 'boolean', options: ['default' => false])] | ||
protected bool $notifyBoss = false; | ||
|
||
public function __construct() | ||
{ | ||
$this->skills = new ArrayCollection(); | ||
|
@@ -1469,6 +1472,7 @@ public function getParentId(): ?int | |
public function setParentId(?int $parentId): self | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line indented incorrectly; expected 8 spaces, found 4 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing function doc comment |
||
{ | ||
$this->parentId = $parentId; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line indented incorrectly; expected at least 12 spaces, found 8 |
||
|
||
return $this; | ||
} | ||
|
||
|
@@ -1480,6 +1484,7 @@ public function getDaysToReinscription(): ?int | |
public function setDaysToReinscription(?int $daysToReinscription): self | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line indented incorrectly; expected 8 spaces, found 4 |
||
{ | ||
$this->daysToReinscription = $daysToReinscription; | ||
|
||
return $this; | ||
} | ||
|
||
|
@@ -1491,6 +1496,7 @@ public function getLastRepetition(): bool | |
public function setLastRepetition(bool $lastRepetition): self | ||
{ | ||
$this->lastRepetition = $lastRepetition; | ||
|
||
return $this; | ||
} | ||
|
||
|
@@ -1502,6 +1508,19 @@ public function getDaysToNewRepetition(): ?int | |
public function setDaysToNewRepetition(?int $daysToNewRepetition): self | ||
{ | ||
$this->daysToNewRepetition = $daysToNewRepetition; | ||
|
||
return $this; | ||
} | ||
|
||
public function getNotifyBoss(): bool | ||
{ | ||
return $this->notifyBoss; | ||
} | ||
|
||
public function setNotifyBoss(bool $notifyBoss): self | ||
{ | ||
$this->notifyBoss = $notifyBoss; | ||
|
||
return $this; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.