Skip to content

Instantly share code, notes, and snippets.

@pdelteil
Created October 4, 2022 23:56
Show Gist options
  • Save pdelteil/c7882237d71918dfea36f2878d375374 to your computer and use it in GitHub Desktop.
Save pdelteil/c7882237d71918dfea36f2878d375374 to your computer and use it in GitHub Desktop.
<?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