Skip to content

Commit ed11f47

Browse files
committed
🚧 Adding example file
1 parent 50bdca8 commit ed11f47

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

‎example.php

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
use EasyMath\Addition;
4+
use EasyMath\Subtraction;
5+
6+
require __DIR__ . '/vendor/autoload.php';
7+
8+
$add = new Addition();
9+
echo $add->add(3, 2) . PHP_EOL;
10+
11+
$sub = new Subtraction();
12+
echo $sub->subtract(3, 2) . PHP_EOL;

0 commit comments

Comments
 (0)