API Documentation
Table of Contents
Namespaces
Functions
- base_path() : string
- morphLive() : mixed
- route() : mixed
- requireFilesRecursively() : mixed
- Рекурсивно подключает все PHP-файлы из указанной директории.
Functions
base_path()
base_path([null|string $path = null ]) : string
Parameters
- $path : null|string = null
Return values
stringmorphLive()
morphLive(callable $controller[, callable|null $middleware = null ]) : mixed
Parameters
- $controller : callable
- $middleware : callable|null = null
route()
route(string $name) : mixed
Parameters
- $name : string
requireFilesRecursively()
Рекурсивно подключает все PHP-файлы из указанной директории.
requireFilesRecursively(string $directory) : mixed
Parameters
- $directory : string
-
Путь к директории.