On Mon, Mar 4, 2019 at 9:18 PM Marc wrote:
>
> On 04.03.19 10:08, Nikita Popov wrote:
> > On Mon, Mar 4, 2019 at 6:31 AM Marc wrote:
> >
> >> (sorry for top posting)
> >>
> >> Hi Nikita,
> >>
> >> as for the question about magic methods vs. interface.
> >>
> >> I have the feeling that it could b
On 04.03.19 10:08, Nikita Popov wrote:
On Mon, Mar 4, 2019 at 6:31 AM Marc wrote:
(sorry for top posting)
Hi Nikita,
as for the question about magic methods vs. interface.
I have the feeling that it could be done with both in a clean way to
make both parties happy.
1. Having __serialize
On Mon, Mar 4, 2019 at 6:31 AM Marc wrote:
> (sorry for top posting)
>
> Hi Nikita,
>
> as for the question about magic methods vs. interface.
>
> I have the feeling that it could be done with both in a clean way to
> make both parties happy.
>
>
> 1. Having __serialize/ __unserialize as magic me
(sorry for top posting)
Hi Nikita,
as for the question about magic methods vs. interface.
I have the feeling that it could be done with both in a clean way to
make both parties happy.
1. Having __serialize/ __unserialize as magic methods - allowing to
throw exceptions also to explicitly di