mirror of
https://github.com/janunger/rheinwerk-video-training.git
synced 2026-02-06 15:15:15 +01:00
Initiale Version
This commit is contained in:
16
Kapitel_10/Lektion_5/src/MeineApp/Taschenrechner.php
Executable file
16
Kapitel_10/Lektion_5/src/MeineApp/Taschenrechner.php
Executable file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace MeineApp;
|
||||
|
||||
class Taschenrechner
|
||||
{
|
||||
public function addiere($a, $b)
|
||||
{
|
||||
return $a + $b;
|
||||
}
|
||||
|
||||
public function subtrahiere($a, $b)
|
||||
{
|
||||
return $a - $b;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user