Using mutators to set properties in your models can really clean up your code. In this snippet, we'll look at an example of automatic password hashing and see how much tidier our controllers end up.
Hey, I'm the founder of Codecourse!
© 2023 Codecourse Ltd. All Rights Reserved. Born in the UK.