Eloquent provides a convenient way to transform your model attributes when getting or setting them. In Laravel 3 they were called Getter & Setter Methods. In Laravel 4 they are called Accessors & Mutators.
Accessors are custom methods in your Model that modify the value of a field before it is returned to you (e.g.
[…]