Skip to content

Commit

Permalink
Merge pull request #3 from maryamshm/main
Browse files Browse the repository at this point in the history
Add some Helper code
  • Loading branch information
MahdiyarGHD authored Jun 15, 2023
2 parents 6fc17af + 1ef4410 commit 3ea2f45
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,12 @@ return redirect()->route('route.name');
// ایجاد یک نمونه از صحت‌سنج
$validator = validator($data, $rules, $messages);
// تبدیل یک رشته به فرمت snake_case
Str::of('maryamShm')->snake(); --> maryam_shm
// مرتب کردن آرایه به صورت نزولی
Arr::sortDesc($array);
// ایجاد یک نمونه از یک ویو
return view('auth.login');"
style="margin-top: 30px" class="language-php"
Expand Down Expand Up @@ -714,4 +720,4 @@ export default {
<style lang="scss">
@import './assets/lib/highlightjs/styles/github-dark.min.css';
@import './assets/styles/app.scss';
</style>
</style>

0 comments on commit 3ea2f45

Please sign in to comment.