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

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

- Page: https://pluginprobe.com/plugins/countdown-time/1.2.0/code/bplugins_sdk/inc/Init.php
- Raw: https://pluginprobe.com/plugins/countdown-time/1.2.0/raw/bplugins_sdk/inc/Init.php
- Modified: 2024-01-01T06:18:34+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.0/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();
    }
}


```
