I would like to know if its possible to unserialize by injecting service into the object and ignore those on serialize?
for example, in symfony, if object is ContainerAware, it should not serialize $container property and on unserialize, it should inject the proper service?
I would like to know if its possible to unserialize by injecting service into the object and ignore those on serialize?
for example, in symfony, if object is ContainerAware, it should not serialize $container property and on unserialize, it should inject the proper service?