Inizio dockerizzazione

This commit is contained in:
2022-08-29 23:20:16 +02:00
parent b348b3a83d
commit 3d22f4cc6a
851 changed files with 1117 additions and 904 deletions
+29
View File
@@ -0,0 +1,29 @@
<?php
/*
Author: Riccardo Di Dato
Creation Date: 26/gen/2016
*/
class MultimessageException extends CoreException {
protected $messageList;
public function __construct(array $arr){
$this->messageList = $arr;
$this->message = $this->getMessageMerged("\n");
}
public function addMessage($msg){
$this->messageList[]=$msg;
$this->message = $this->getMessageMerged("\n");
}
public function getMessageList(){
return $this->messageList;
}
public function getMessageMerged($glue){
return implode($glue,$this->getMessageList());
}
}
?>