We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 931e24b commit 6689872Copy full SHA for 6689872
lambda/http.php
@@ -2,6 +2,13 @@
2
3
declare(strict_types=1);
4
5
+use LambdaPhpSkeleton\TronaldDump;
6
+
7
require_once __DIR__ . '/../config/bootstrap.php';
8
-echo "<h1>Hello world!</h1>";
9
+echo '<h1>Hello world! Here is your Tronald Dump quote:</h1>';
10
11
+$client = new TronaldDump\Client(new \Bref\Logger\StderrLogger()); // @TODO use DI
12
+$quote = $client->getRandomQuote();
13
14
+echo '<cite>' . $quote['value'] . '</cite>';
0 commit comments