mustangostang / spyc

A simple YAML loader/dumper class for PHP
MIT License
712 stars 207 forks source link

Split `Spyc` class out into a separate file #66

Open schlessera opened 7 years ago

schlessera commented 7 years ago

Split class out into a separate file so that it can be properly managed through Composer autoloading.

This enables other code (which is not using the procedural access to the class) to manage how and when the actual class is loaded.

Resolves #65

schlessera commented 7 years ago

I hooked up the class in a way that should not break any existing code, either Composer based or using manual includes.