code example

This commit is contained in:
Sergio Álvarez 2019-11-11 17:41:43 +01:00
parent f60d9f1fb6
commit 9d6cc2eded
3 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ composer*
deploy.md deploy.md
runtime* runtime*
vendor* vendor*
*.zip

View File

@ -29,3 +29,4 @@ mv runtime.zip ../
cd .. cd ..
zip -r vendor.zip vendor zip -r vendor.zip vendor
zip -r lambda.zip src

6
src/hello.php Normal file
View File

@ -0,0 +1,6 @@
<?php
function hello($data)
{
return "Hello, {$data['name']}!";
}