We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d914fa3 commit 16ff347Copy full SHA for 16ff347
blade.md
@@ -1156,6 +1156,18 @@ You may retrieve a specific attribute's value using the `get` method:
1156
{{ $attributes->get('class') }}
1157
```
1158
1159
+The `only` method may be used to retrieve only the attributes with the given keys:
1160
+
1161
+```blade
1162
+{{ $attributes->only(['class']) }}
1163
+```
1164
1165
+The `except` method may be used to retrieve all attributes except those with the given keys:
1166
1167
1168
+{{ $attributes->except(['class']) }}
1169
1170
1171
<a name="reserved-keywords"></a>
1172
### Reserved Keywords
1173
0 commit comments