class Baseclass { protected static $instance = null; public static function _init() { // load your class driver here $driver = 'Driver_Class_Name'; static::$instance = new $driver; } public static function classmethod() { return static::$instance->drivermethod(); } }Classes with multiple instances use a factory() method to generate and return the instance, and optionally an instance() method to return a previously instantiated driver object.
It looks like you're new here. If you want to get involved, click one of these buttons!