theseer / Autoload

A lightweight php namespace aware autoload generator and phar archive builder
Other
388 stars 47 forks source link

Changed the autoload-function name to be reproducible #26

Closed hpbuniat closed 12 years ago

hpbuniat commented 12 years ago

Currently Autoload will change the autoload-file, even if there are actually no changes in the class-list. When using Autoload not only within the deployment or completely manually this might change the autoload-file far too often.

The patch will ensure that the autoload-function-name changes only when the classlist is changed. This might be an cli-option, too.