# countdown-time/1.2.8/bplugins_sdk/inc/Init.php

Countdown Timer Block – build urgency for events and launches, version 1.2.8. 25 lines.

- Page: https://pluginprobe.com/plugins/countdown-time/1.2.8/code/bplugins_sdk/inc/Init.php
- Raw: https://pluginprobe.com/plugins/countdown-time/1.2.8/raw/bplugins_sdk/inc/Init.php
- Modified: 2025-05-05T11:48:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/countdown-time/1.2.8/code/bplugins_sdk/inc/Init.php#L10-L20`.

```php
<?php

class Init{
   
    public static function get_services(){
        return [
            Base\FSActivate::class
        ];
    }

    public static function register_services(){
        foreach(self::get_services() as $class){
            $services = self::instantiate($class);
            if(method_exists($services, 'register')){
                $services->register();
            }
        }
    }

    private static function instantiate($class){
        return new $class();
    }
}


```
