PHP Class Spatie\MediaLibrary\FileAdder\FileAdderFactory

Afficher le fichier Open project: spatie/laravel-medialibrary

Méthodes publiques

Méthode Description
create ( Model $subject, string | Symfony\Component\HttpFoundation\File\UploadedFile $file ) : FileAdder
createFromRequest ( Model $subject, string $key ) : FileAdder

Method Details

create() public static méthode

public static create ( Model $subject, string | Symfony\Component\HttpFoundation\File\UploadedFile $file ) : FileAdder
$subject Illuminate\Database\Eloquent\Model
$file string | Symfony\Component\HttpFoundation\File\UploadedFile
Résultat FileAdder

createFromRequest() public static méthode

public static createFromRequest ( Model $subject, string $key ) : FileAdder
$subject Illuminate\Database\Eloquent\Model
$key string
Résultat FileAdder