scottsteil
scottsteil
I came to the same conclusion as @EugeneG9. The method should be: ``` public function getModelAttributes() { return $this->getModel()->attributesToArray(); } ``` The attributesToArray method already returns attributes that are mutated...
Accessors especially pair really nicely with this validator class. Here's an example of a complex, model-specific validator rule. This ensures that the passed percentage fields all add to 100%. ```...
I can appreciate that. It seems to be the same problem for all the errors. Laravel's code to convert Carbon to a string checks the database if it doesn't know...