From 289562ba80ddd0f308f586266b6cc5f6d2528d5b Mon Sep 17 00:00:00 2001 From: DarkSide Date: Tue, 28 Mar 2023 14:01:56 +0300 Subject: [PATCH] seed as array --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 54b9e5405c..6c09636c54 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ To get most of ATK UI, use [ATK Data](https://github.com/atk4/data) to describe [Crud](https://ui.agiletoolkit.org/demos/crud.php) is a fully-interractive component that supports pagination, reloading, conditions, data formatting, sorting, quick-search, ordering, custom actions and modals, but at the same time is very easy to use: ``` php -$app = new \Atk4\Ui\App('hello world'); +$app = new \Atk4\Ui\App(['title' => 'hello world']); $app->initLayout([\Atk4\Ui\Layout\Admin::class]); $app->db = \Atk4\Data\Persistence::connect('mysql://user:pass@localhost/atk');