diff --git a/docs/runtimes/function.mdx b/docs/runtimes/function.mdx index 3f6e73d15..ebcbc11c9 100644 --- a/docs/runtimes/function.mdx +++ b/docs/runtimes/function.mdx @@ -158,14 +158,47 @@ It is also possible to directly define PHP classes as AWS Lambda handlers. handler: MyApp\Handler ``` - - Set the class name as the `handler` and Bref will retrieve that class from Symfony's service container. + + Create a file that returns the Symfony Kernel (MUST be located at `public/index.php`) + ```php filename="public/index.php" + To achieve that, you must integrate Bref with your framework's Dependency Injection Container.