“Static constructors” are a concept a lot of object-oriented programming languages support - although, unfortunately, PHP does not.