src/Entity/User/AdminAvatar.php line 26
<?php/** This file is part of the Pellipop project.** (c) Mobizel** For the full copyright and license information, please view the LICENSE* file that was distributed with this source code.*/declare(strict_types=1);namespace App\Entity\User;use App\Entity\Media\File;use Doctrine\ORM\Mapping as ORM;use Monofony\Contracts\Core\Model\User\AdminAvatarInterface;use Vich\UploaderBundle\Mapping\Annotation as Vich;/*** @Vich\Uploadable*/#[ORM\Entity]#[ORM\Table(name: 'app_admin_avatar')]class AdminAvatar extends File implements AdminAvatarInterface{/*** @Vich\UploadableField(mapping="admin_avatar", fileNameProperty="path")*/#[\Symfony\Component\Validator\Constraints\File(maxSize: '6000000', mimeTypes: ['image/*'])]protected ?\SplFileInfo $file = null;}