Load optional #3

8 commits merged into from Nov 15, 2010


None yet

1 participant


I've added a new function, load_optional_class , that allows people to DWIM with loading classes optionally, because generally speaking, if the class exists, but its broken, you WANT it do die(); properly.

Its based on my previous tree.

Tests added, tested on 5.8.9 to work as expected.

Thanks =)


If you're wanting the rationale behind it, http://blog.fox.geek.nz/2010/11/handling-optional-requirements-with.html may be of some use.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment