You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: container.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -291,7 +291,7 @@ class PhotoController extends Controller
291
291
}
292
292
```
293
293
294
-
In addition to the `Storage` attribute, Laravel offers `Auth`, `Cache`, `Config`, `DB`, `Log`, `RouteParameter`, and [Tag](#tagging) attributes:
294
+
In addition to the `Storage` attribute, Laravel offers `Auth`, `Cache`, `Config`, `Context`, `DB`, `Log`, `RouteParameter`, and [Tag](#tagging) attributes:
295
295
296
296
```php
297
297
<?php
@@ -302,6 +302,7 @@ use App\Models\Photo;
302
302
use Illuminate\Container\Attributes\Auth;
303
303
use Illuminate\Container\Attributes\Cache;
304
304
use Illuminate\Container\Attributes\Config;
305
+
use Illuminate\Container\Attributes\Context;
305
306
use Illuminate\Container\Attributes\DB;
306
307
use Illuminate\Container\Attributes\Log;
307
308
use Illuminate\Container\Attributes\RouteParameter;
@@ -317,6 +318,7 @@ class PhotoController extends Controller
0 commit comments