- Splitted cronard definitions

- Added TMP_PATH env var
- Added support for Events from attributes
- Added Negundo client support
This commit is contained in:
mcndave committed 2023-03-29 13:59:59 +00:00
1 parent 946281c884
commit f482c19df5
23 files changed
+163 -82

No files matched your search

+7
View File
@@ -83,6 +83,11 @@ class Lean
return array_merge(...array_map(fn($app) => $app->cronard ?? [], $this->applications));
}
public function getEvents() : array
{
return array_merge(...array_map(fn($app) => $app->events ?? [], $this->applications));
}
public function getEntities() : array
{
return array_merge(...array_map(fn($app) => $app->entities ?? [], $this->applications));
@@ -123,7 +128,9 @@ class Lean
$path = dirname(__DIR__) . "/meta/definitions/";
return array_merge(
require($path . "cronard.php"),
require($path . "email.php"),
require($path . "event.php"),
require($path . "http.php"),
require($path . "language.php"),
require($path . "routes.php"),