Since $etagGenerateCallback is declared private, accessing it with static will lead to errors in possible sub-classes; you can either use self, or increase the visibility of $etagGenerateCallback to at least protected.
Since $etagGenerateCallback is declared private, accessing it with static will lead to errors in possible sub-classes; you can either use self, or increase the visibility of $etagGenerateCallback to at least protected.