-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[10.x] Add ability to set a custom class for the
AsCollection
and `…
…AsEncryptedCollection` casts (#46619) * Add ability to set a custom collection class for the `AsCollection` cast * Fix StyleCI * Pass all arguments instead of a collection class name * Ability to set a custom collection class in `AsEncryptedCollection` cast * Add check for a collection class * Revert "Add check for a collection class" This reverts commit 99c1465. * Switch to PHP 8 constructor property promotion syntax * Add check for a collection class * formatting * Update AsCollection.php * Update AsEncryptedCollection.php --------- Co-authored-by: Taylor Otwell <[email protected]>
- Loading branch information
1 parent
f370e9b
commit 5c9656e
Showing
2 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters