Override set() to convert entity to array.
Override set() to convert entity to array.

This makes that you can now pass entity directly to save(),
because save() will set $data using set().

josegonzalez/cakephp-entity