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:
commit
20f8881897
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue