Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 37888f6

Browse files
Fix model default namespace (#10763)
1 parent afab4ca commit 37888f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎queues.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1945,7 +1945,9 @@ If you defined your DynamoDB table with a `ttl` attribute, you may define config
19451945
Instead of dispatching a job class to the queue, you may also dispatch a closure. This is great for quick, simple tasks that need to be executed outside of the current request cycle. When dispatching closures to the queue, the closure's code content is cryptographically signed so that it cannot be modified in transit:
19461946

19471947
```php
1948-
$podcast = App\Podcast::find(1);
1948+
use App\Models\Podcast;
1949+
1950+
$podcast = Podcast::find(1);
19491951

19501952
dispatch(function () use ($podcast) {
19511953
$podcast->publish();

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /