OOP Wrapper for php features