mongosoft\file\UploadBehavior::save PHP Метод

save() защищенный Метод

Saves the uploaded file.
protected save ( UploadedFile $file, string $path ) : boolean
$file yii\web\UploadedFile the uploaded file instance
$path string the file path used to save the uploaded file
Результат boolean true whether the file is saved successfully
    protected function save($file, $path)
    {
        return $file->saveAs($path, $this->deleteTempFile);
    }