Merge pull request #11479 from cakephp/2.x-depr

Clarify migration path to 3.x
This commit is contained in:
Mark Story 2017-11-29 14:27:05 -05:00 committed by GitHub
commit 7fbeea4fa8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1688,6 +1688,9 @@ class Model extends CakeObject implements CakeEventListener {
* Saves the value of a single field to the database, based on the current
* model ID.
*
* @deprecated 3.0.0 To ease migration to the new major, do not use this method anymore.
* Stateful model usage will be removed. Use the existing save() methods instead.
*
* @param string $name Name of the table field
* @param mixed $value Value of the field
* @param bool|array $validate Either a boolean, or an array.