Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use classmap autoloading in composer #122

Merged
merged 1 commit into from
Dec 24, 2014
Merged

Use classmap autoloading in composer #122

merged 1 commit into from
Dec 24, 2014

Conversation

legoktm
Copy link
Contributor

@legoktm legoktm commented Dec 24, 2014

When installing via composer, using "files" causes the entire file
to be loaded when the autoloader is initialized. Using classmap
actually uses the autoloader as a real autoloader, the files are
only loaded when the class is invoked.

See https://getcomposer.org/doc/04-schema.md#files and
https://getcomposer.org/doc/04-schema.md#classmap for more details.

When installing via composer, using "files" causes the entire file
to be loaded when the autoloader is initialized. Using classmap
actually uses the autoloader as a real autoloader, the files are
only loaded when the class is invoked.

See https://getcomposer.org/doc/04-schema.md#files and
https://getcomposer.org/doc/04-schema.md#classmap for more details.
@zordius
Copy link
Owner

zordius commented Dec 24, 2014

Seems good, thank you for your contribution!
If anyone encounter any autoload/composer related issues after this merge, you may report here, thanks.

zordius pushed a commit that referenced this pull request Dec 24, 2014
Use classmap autoloading in composer
@zordius zordius merged commit 2f16c0c into zordius:master Dec 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants