Skip to content

Commit

Permalink
readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
khamdullaevuz committed Mar 24, 2023
1 parent 246f4ff commit c592d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Translation::make('products', 'name', 'Mahsulot 1', 'uz', $product->id);

### Get
```php
$product = Product::find(1);
$product = Product::latest()->first();

echo $product->name;
app()->setLocale('uz');
Expand Down

0 comments on commit c592d7d

Please sign in to comment.