private static function checkClient() { if (null != self::$client) { return; } throw new Exception("Segment::init() must be called before any other tracking method."); }