Created
February 15, 2019 05:59
-
-
Save M-Abdullahi/3017fcf75e53db80ea3e59f9bcbbc444 to your computer and use it in GitHub Desktop.
Helper function to check if an items starts with a pattern
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
if (starts_with($uploadedFile->getClientMimeType(), 'image')) { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment