public static function getInstance() { if (is_null(static::$instance)) { return new static(); } return static::$instance; }