add oop
This commit is contained in:
parent
642491a9c0
commit
9ffda1656d
4 changed files with 69 additions and 0 deletions
9
demo/oop/holeFragen.php
Normal file
9
demo/oop/holeFragen.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
require 'Frage.php';
|
||||
|
||||
return [
|
||||
new Frage('Welches Tier bellt?', 'Hund', ['Hund', 'Katze', 'Biene'], 'frage-1'),
|
||||
new Frage('Welche Farbe ist der Himmel bei gutem Wetter?', 'Blau', ['Rot', 'Grün', 'Blau'], 'frage-2'),
|
||||
new Frage('Welche Frucht ist Gelb?', 'Banane', ['Banane', 'Birne', 'Kiwi'], 'frage-3'),
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue