Created
April 7, 2020 00:08
-
-
Save shameemreza/71b65763d1a09b0cf5fdd74a5f1f0a7f to your computer and use it in GitHub Desktop.
optional()
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
// Example of using the optional() helper | |
print optional($dessert->name)->category; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment