File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,19 +21,19 @@ laravel-wallet - Easy work with virtual wallet.
2121
2222### Run Migrations
2323Publish the migrations with this artisan command:
24- ```
24+ ``` bash
2525php artisan vendor:publish --tag=laravel-wallet-migrations
2626```
2727
2828### Configuration
2929You can publish the config file with this artisan command:
30- ```
30+ ``` bash
3131php artisan vendor:publish --tag=laravel-wallet-config
3232```
3333
3434### Usage
3535Add the HasWallet trait to model.
36- ```
36+ ``` php
3737use Bavix\Wallet\Traits\HasWallet;
3838use Bavix\Wallet\Interfaces\Wallet;
3939
@@ -45,7 +45,7 @@ class User extends Model implements Wallet
4545
4646Now we make transactions.
4747
48- ```
48+ ``` php
4949$user = User::first();
5050$user->balance; // int(0)
5151
You can’t perform that action at this time.
0 commit comments