Closed Vallenain closed 7 years ago
yes it is, I'll do it soon cf. https://laravel.com/docs/5.2/eloquent-mutators#attribute-casting
I tried to fix it but I cannot test, let me know if that works
it will be fixed during a larger refactoring to remove Business\Article, keeping only Eloquent\Article.
For example when calling the articles API, I got this
"isDraft":1,"isPublic":0
, would it be possible to havetrue
/false
instead ?