Created
July 3, 2022 20:46
-
-
Save ismail1432/2e888acf21d0bd77eee90cb6dc7d20e1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// AppFileConstraint.php | |
<?php | |
declare(strict_types=1); | |
namespace App\Constraints; | |
use Symfony\Component\Validator\Constraints\File; | |
// This class is used as marker to validate File by guessing the MIME type with the `FileBinaryMimeTypeGuesserDecorator` first. | |
final class AppFile extends File | |
{ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment