CBPRuntime :: GetRuntime: Bitrix method

      
<?php 
//  CBPRuntime :: GetRuntime()
//  /dist/bitrix/modules/bizproc/classes/general/runtime.php:87

    
public static function GetRuntime($autoStart false)
    {
        if (!isset(
self::$instance))
        {
            
$c __CLASS__;
            
self::$instance = new $c;
        }

        if (
$autoStart)
        {
            
self::$instance->StartRuntime();
        }

        return 
self::$instance;
    }