Created
October 4, 2022 23:56
-
-
Save pdelteil/c7882237d71918dfea36f2878d375374 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Sample { | |
// constructor | |
public function __construct($value, $variable_name, $record_id, $event_id) | |
{ | |
$this->value = $value; | |
$this->variable_name = $variable_name; | |
$this->record_id = $record_id; | |
$this->event_id = $event_id; | |
} | |
public function getValue(){ | |
return $this->value; | |
} | |
public function getVariableName(){ | |
return $this->variable_name; | |
} | |
public function getRecord(){ | |
return $this->record_id; | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment