I have a simple class:
class obj__image extends obj__file {
public $dimensions;
public $storedDPI;
public $colorProfile;
}
When i store an instance of this to my session (for example), the object gets serialized and stored away. That's fine.
But is there any way to define a class variable, such as the above $colorProfile so that it will not be stored when storing/serializing the object?