PHP Value-objects Resources