cakephp/cakephp — pull request #3248 by dereuromark (2014-04-06 20:41:58+00:00)
Title: 2.5 validation

Following the other recent changes in the API of 2.5, this also makes a method allowing to be chained.
Especially since this is just a wrapper for setRule().

Doctype of setRule() is:

@return CakeValidationSet this instance

PS: I wonder why this method is needed besides setRule() as it seems both do exactly the same?