/** * Protected constructor to prevent creating a new instance of the * *Singleton* via the `new` operator from outside of this class. * */ protected function __construct() { parent::__construct(); $this->set_dimensions(); }
/** * * Overrides instance to set with this class as class * * @param string $class_name * * @return Yoast_GA_Custom_Dimensions */ public static function get_instance($class_name = __CLASS__) { return parent::get_instance($class_name); }