private function createFile()
    {
        $cacheMethod = \PHPExcel_CachedObjectStorageFactory::cache_to_phpTemp;
        $cacheSettings = array('memoryCacheSize' => '128MB');
        \PHPExcel_Settings::setCacheStorageMethod($cacheMethod, $cacheSettings);

        return new \PHPExcel();
    }
private function createFile()
    {
        $cacheMethod = \PHPExcel_CachedObjectStorageFactory::cache_to_phpTemp;
        $cacheSettings = array('memoryCacheSize' => '128MB');
        \PHPExcel_Settings::setCacheStorageMethod($cacheMethod, $cacheSettings);

        return new \PHPExcel();
    }
private function createFile ( ) { $ cacheMethod = \ PHPExcel_CachedObjectStorageFactory :: cache_to_phpTemp ; $ cacheSettings = array ( 'memoryCacheSize' => '128MB' ) ; \ PHPExcel_Settings :: setCacheStorageMethod ( $ cacheMethod , $ cacheSettings ) ; return new \ PHPExcel ( ) ; }
Create the PHPExcel instance to work in

@return \PHPExcel
Create the PHPExcel instance to work in