protected function saveAssignments()
	{
		$assignmentData = [];
		foreach ($this->assignments as $userId => $assignments) {
			foreach ($assignments as $name => $assignment) {
				/* @var $assignment Assignment */
				$assignmentData[$userId][] = $assignment->roleName;
			}
		}
		DiscHelper::saveToFile($assignmentData, $this->assignmentFile);
		
		$this->domain->const->generateAll();
	}
protected function saveAssignments()
	{
		$assignmentData = [];
		foreach ($this->assignments as $userId => $assignments) {
			foreach ($assignments as $name => $assignment) {
				/* @var $assignment Assignment */
				$assignmentData[$userId][] = $assignment->roleName;
			}
		}
		DiscHelper::saveToFile($assignmentData, $this->assignmentFile);
		
		$this->domain->const->generateAll();
	}
protected function saveAssignments ( ) { $ assignmentData = [ ] ; foreach ( $ this -> assignments as $ userId => $ assignments ) { foreach ( $ assignments as $ name => $ assignment ) { /* @var $assignment Assignment */ $ assignmentData [ $ userId ] [ ] = $ assignment -> roleName ; } } DiscHelper :: saveToFile ( $ assignmentData , $ this -> assignmentFile ) ; $ this -> domain -> const -> generateAll ( ) ; }
Saves assignments data into persistent storage.
Saves assignments data into persistent storage .