Matthimatiker / MolComponents

Library with use-at-will architecture that extends the functionality of Zend Framework 1. Main features: Improved bootstrapping with lazy loading of resources, declaration of request parameters as argument in controller actions, advanced form creation and validation, mail templates, lightweight controller testing.
Other
2 stars 0 forks source link

Create helper class for type checks #34

Closed Matthimatiker closed 11 years ago

Matthimatiker commented 12 years ago

Create a utility class that checks if a class extends/implements a couple of types.

This functionality is already partially implemented in the object builder.

Matthimatiker commented 11 years ago

Extracted Mol_Util_TypeInspector class that is used to check type rules and additionally provides some methods for type assertions.

The ObjectBuilder simply uses this new class to perform the necessary type checks.