'minMessage' => 'This value is too short. It should have {{ limit }} character or more.|This value is too short. It should have {{ limit }} characters or more.',
'maxMessage' => 'This value is too long. It should have {{ limit }} character or less.|This value is too long. It should have {{ limit }} characters or less.',
))
);*/
}
public function getUuid(): Uuid
@ -897,15 +845,6 @@ class User implements UserInterface, EquatableInterface, ResourceInterface, Reso
return $this;
}
/*public function getDropBoxReceivedFiles()
{
return $this->dropBoxReceivedFiles;
}
public function setDropBoxReceivedFiles($value): void
{
$this->dropBoxReceivedFiles = $value;
}*/
public function getCourses(): Collection
{
return $this->courses;
@ -928,18 +867,6 @@ class User implements UserInterface, EquatableInterface, ResourceInterface, Reso
return $this;
}
/*public function getCurriculumItems(): Collection
{
return $this->curriculumItems;
}
public function setCurriculumItems(array $items): self
{
$this->curriculumItems = $items;
return $this;
}*/
/**
* Get a bool on whether the user is active or not. Active can be "-1" which means pre-deleted, and is returned as false (not active).
*
@ -1430,31 +1357,16 @@ class User implements UserInterface, EquatableInterface, ResourceInterface, Reso
public function isAccountNonExpired(): bool
{
/*if (true === $this->expired) {
return false;
}
if (null !== $this->expiresAt && $this->expiresAt->getTimestamp() <time()){
return false;
}*/
return true;
}
public function isAccountNonLocked(): bool
{
return true;
// return !$this->locked;
}
public function isCredentialsNonExpired(): bool
{
/*if (true === $this->credentialsExpired) {
return false;
}
if (null !== $this->credentialsExpireAt && $this->credentialsExpireAt->getTimestamp() <time()){
return false;
}*/
return true;
}
@ -1985,22 +1897,6 @@ class User implements UserInterface, EquatableInterface, ResourceInterface, Reso
return $this->gradeBookComments;
}
/**
* @return Collection<int,GradebookEvaluation>
*/
public function getGradeBookEvaluations(): Collection