PHP OOP Core inspired by Java