Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Spatie
MediaLibrary
FileAdder
FileAdderFactory
PHP Class Spatie\MediaLibrary\FileAdder\FileAdderFactory
Mostra file
Open project: spatie/laravel-medialibrary
Public Methods
Method
Description
create
(
Model
$subject
,
string
| Symfony\Component\HttpFoundation\File\UploadedFile
$file
) :
FileAdder
createFromRequest
(
Model
$subject
,
string
$key
) :
FileAdder
Method Details
create()
public
static
method
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
return
FileAdder
createFromRequest()
public
static
method
public
static
createFromRequest
(
Model
$subject
,
string
$key
) :
FileAdder
$subject
Illuminate\Database\Eloquent\Model
$key
string
return
FileAdder