mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
Fix thread command
This commit is contained in:
parent
8b4da709a8
commit
26615990e5
6 changed files with 13 additions and 13 deletions
|
|
@ -1,11 +1,11 @@
|
|||
---
|
||||
title: 'Create this `tinker` bash script to supercharge your dev workflow'
|
||||
tweet_id: '1451526385982447647'
|
||||
thread_slug: weekly-thread-2021-44
|
||||
thread_slug: weekly-thread-2021-42
|
||||
author_username: Philo01
|
||||
images:
|
||||
- 'https://pbs.twimg.com/media/FB1A012WYAILmTL.jpg'
|
||||
created_at: 2021-10-22T12:30:33+00:00
|
||||
slug: create-this-tinker-bash-script-to-supercharge-your-dev-workflow
|
||||
---
|
||||
Laravel productivity tip! Add this little function to your bash profile to quickly execute anything with the Tinker command and get the results instantly.
|
||||
Laravel productivity tip! Add this little function to your bash profile to quickly execute anything with the Tinker command and get the results instantly.
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
---
|
||||
title: 'There are multiple ways to redirect users'
|
||||
tweet_id: '1451526393389621249'
|
||||
thread_slug: weekly-thread-2021-44
|
||||
thread_slug: weekly-thread-2021-42
|
||||
author_username: anwar_nairi
|
||||
images:
|
||||
- 'https://pbs.twimg.com/media/FCIjxoBWUAAOHfz.jpg'
|
||||
created_at: 2021-10-22T12:30:34+00:00
|
||||
slug: there-are-multiple-ways-to-redirect-users
|
||||
---
|
||||
#Laravel offers various ways to redirect your users ✈️
|
||||
#Laravel offers various ways to redirect your users ✈️
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: 'Use test files to describe your thoughts about a specific feature — in full — before starting implementation'
|
||||
tweet_id: '1451526388717133857'
|
||||
thread_slug: weekly-thread-2021-44
|
||||
thread_slug: weekly-thread-2021-42
|
||||
author_username: laracasts
|
||||
images:
|
||||
- 'https://pbs.twimg.com/media/FCJX2LhXsAQZdJF.jpg'
|
||||
|
|
@ -10,4 +10,4 @@ slug: use-test-files-to-describe-your-thoughts-about-a-specific-feature-in-full-
|
|||
---
|
||||
Testing Tip: use a test class or spec file as a place to gather all of your thoughts about how a particular feature should behave. Then, write each as a pending test.
|
||||
|
||||
Here's an example from our upcoming "Feed" section.
|
||||
Here's an example from our upcoming "Feed" section.
|
||||
|
|
|
|||
|
|
@ -1,17 +1,17 @@
|
|||
---
|
||||
title: 'You can make the Http client throw exceptions to terminate execution on any received errors'
|
||||
tweet_id: '1451526356521693187'
|
||||
thread_slug: weekly-thread-2021-44
|
||||
thread_slug: weekly-thread-2021-42
|
||||
author_username: pascalbaljet
|
||||
images:
|
||||
- 'https://pbs.twimg.com/media/FCKQ8JdWUAc0I4q.jpg'
|
||||
created_at: 2021-10-22T12:30:26+00:00
|
||||
slug: you-can-make-the-http-client-throw-exceptions-to-terminate-execution-on-any-received-errors
|
||||
---
|
||||
💡 By default, the @laravelphp HTTP client doesn't throw exceptions on client and server errors.
|
||||
💡 By default, the @laravelphp HTTP client doesn't throw exceptions on client and server errors.
|
||||
|
||||
However, you can make it do that by using the 'throw' method, and this method is chainable 🔥
|
||||
|
||||
Documentation: https://laravel.com/docs/8.x/http-client#throwing-exceptions
|
||||
|
||||
#Laravel #PHP #webdev #webdevelopment
|
||||
#Laravel #PHP #webdev #webdevelopment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue