aufgaben weil vergesen zu commiten
This commit is contained in:
14
progp/25-4-2 - oop/teilnehmer.php
Normal file
14
progp/25-4-2 - oop/teilnehmer.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
ini_set("display_errors", "on");
|
||||
class teilnehmer {
|
||||
public string $name;
|
||||
public string $vorname;
|
||||
public string $code;
|
||||
|
||||
public function __construct(string $n, string $vn, string $c) {
|
||||
$this->name = $n;
|
||||
$this->vorname = $vn;
|
||||
$this->code = $c;
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user