1
0
Fork 0
mirror of https://github.com/archtechx/airwire.git synced 2025-12-12 02:34:04 +00:00

Merge branch 'master' of github.com:archtechx/airwire

This commit is contained in:
Samuel Štancl 2021-05-22 15:51:29 +02:00
commit 20f8881897

View file

@ -54,7 +54,7 @@ interface CreateUser {
email: string; email: string;
password: string; password: string;
password_confirmation: string; password_confirmation: string;
create(): AirwirePromise<User>; submit(): AirwirePromise<User>;
errors: { ... } errors: { ... }
// ... // ...
@ -259,7 +259,7 @@ It supports converting received IDs to model instances:
public User $user; public User $user;
``` ```
Converting arays/objects to unsaved instances: Converting arrays/objects to unsaved instances:
```php ```php
// received: ['name' => 'Try Airwire on a new project', 'priority' => 'highest'] // received: ['name' => 'Try Airwire on a new project', 'priority' => 'highest']
public function addTask(Task $task) public function addTask(Task $task)