thecodingmachine / mouf

The Mouf PHP framework: an open-source PHP framework providing an easy way to download, install, use and reuse components, with a graphical user interface.
MIT License
54 stars 28 forks source link

Add a validator to support loop detection in constructors #73

Closed moufmouf closed 7 years ago

moufmouf commented 10 years ago

If an instance "a" requires an instance "b" in its constructor and the same instance "b" requires instance "a" (always in the constructor), we go in an infinite loop when querying the instance. We need to detect this, at least in a validator.

moufmouf commented 7 years ago

Done