philipbrown / magniloquent

DEPRECATED, USE https://github.com/dwightwatson/validating
MIT License
70 stars 8 forks source link

Validate automatically validates model's attributes #14

Closed w3irdrobot closed 10 years ago

w3irdrobot commented 10 years ago

A user can now validate a model's attributes automatically without passing attributes manually. Then, other processing can happen if validated.

$model->validate();

if ($model->isValid())
    // do something crazy!
philipbrown commented 10 years ago

Hey @searsaw I won't be at a computer to merge in these pull requests today. I've added you as a collaborator so feel free to keep working on Magniloquent and merge your changes straight in. Thank you for all your contributions :)

w3irdrobot commented 10 years ago

Thanks, man!