php-mongo
php-mongo copied to clipboard
Document validation scenatio before save
Currently Document::validate calls if first argument of Document::save passed to true. It throws exception. There is reason allowing scenario when document silently validated, and resulot obtainded from Document::getErrors