mustangostang / spyc

A simple YAML loader/dumper class for PHP
MIT License
701 stars 206 forks source link

Split class declaration from procedural code #65

Open schlessera opened 7 years ago

schlessera commented 7 years ago

The class Spyc should be split 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.

Related issues: https://github.com/wp-cli/wp-cli/issues/3850 https://github.com/wp-cli/wp-cli/issues/3875