You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/dto.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,7 +168,7 @@ Now, we will update our resource by using a different input representation.
168
168
169
169
With the following `BookInput`:
170
170
171
-
```
171
+
```php
172
172
<?php
173
173
// src/Dto/BookInput.php
174
174
@@ -184,7 +184,7 @@ final class BookInput {
184
184
185
185
We will implement a `BookInputDataTransformer` that transforms the `BookInput` to our `Book` resource instance. In this case, the `Book` (`/books/1`) already exists, so we will just update it.
0 commit comments