Hello, in toArray method says : "We only assign values to the public properties".
Why only public props ? I think it will be more comfortably to set protected attributes to a Model through setters.
Hello, in toArray method says : "We only assign values to the public properties".
Why only public props ? I think it will be more comfortably to set protected attributes to a Model through setters.