faisalman / simple-excel-php

Simplexcel.php - Easily read / parse / convert / write between Microsoft Excel XML / CSV / TSV / HTML / JSON / etc spreadsheet tabular file formats
http://faisalman.github.io/simple-excel-php
562 stars 146 forks source link

Autoloader is now a easily unregisterable function #31

Closed unreal4u closed 9 years ago

unreal4u commented 9 years ago

Closures can't be unregistered easily: AFAIK you must unregister all autoloading functions and then add back those that you didn't want to exclude in the first place.

This commit will allow you to unregister the autoloader instance created by this package by simply doing:

spl_autoload_unregister(array('SimpleExcel\SimpleExcel', 'autoLoader'));

sergeyklay commented 9 years ago

@faisalman ?

unreal4u commented 9 years ago

Thanks for merging, any new release coming soon?

sergeyklay commented 9 years ago

@unreal4u +1