mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-23 22:09:29 +00:00
Created notification object.
This commit is contained in:
parent
4bb1a2426e
commit
b502f68bc5
@ -39,6 +39,7 @@ class Notification {
|
||||
private $from_container_id;
|
||||
private $from_container_type;
|
||||
|
||||
|
||||
/**
|
||||
* Set notification id
|
||||
*
|
||||
@ -201,4 +202,22 @@ class Notification {
|
||||
public function get_from_container_id() : int {
|
||||
return $this->from_container_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set notification target element type
|
||||
*
|
||||
* @param string $elem_type The type of the target element type
|
||||
*/
|
||||
public function set_from_container_type(string $from_container_type){
|
||||
$this->from_container_type = $from_container_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get notification target element type
|
||||
*
|
||||
* @return string The from_container_type of the notification
|
||||
*/
|
||||
public function get_from_container_type() : string {
|
||||
return $this->from_container_type;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user