zendframework/zf2 — pull request #2802 by Slamdunk (2012-10-19 10:21:02+00:00)
Title: Validator::isValid with $context

So, a little recap:

https://github.com/zendframework/zf2/blob/release-2.0.3/library/Zend/InputFilter/BaseInputFilter.php#L195
ok, it passes the $context
https://github.com/zendframework/zf2/blob/release-2.0.3/library/Zend/InputFilter/Input.php#L286
ok, it passes the $context
https://github.com/zendframework/zf2/blob/release-2.0.3/library/Zend/Validator/ValidatorChain.php#L175
ok, it passes the $context

But

https://github.com/zendframework/zf2/blob/release-2.0.3/library/Zend/Validator/ValidatorInterface.php#L30 deny the ability to have the $context, so no validator can see the $context, really important for example for a PasswordConfirm validator.

For those who don't want to wait, you can use `func_get_args()` and it receives the second argument.