Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
vendor
/
maatwebsite
/
excel
/
src
:
DefaultValueBinder.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Maatwebsite\Excel; use PhpOffice\PhpSpreadsheet\Cell\Cell; use PhpOffice\PhpSpreadsheet\Cell\DefaultValueBinder as PhpSpreadsheetDefaultValueBinder; class DefaultValueBinder extends PhpSpreadsheetDefaultValueBinder { /** * @param Cell $cell Cell to bind value to * @param mixed $value Value to bind in cell * @return bool */ public function bindValue(Cell $cell, $value) { if (is_array($value)) { $value = \json_encode($value); } return parent::bindValue($cell, $value); } }