public static function ensure()
    {
        $cnt = 0;
        foreach( self::$instances as $instance ) {
            if( !$instance->isAlive() ) {
                $instance->reset();
                $cnt++;
            }
        }
        return $cnt;
    }
public static function ensure()
    {
        $cnt = 0;
        foreach( self::$instances as $instance ) {
            if( !$instance->isAlive() ) {
                $instance->reset();
                $cnt++;
            }
        }
        return $cnt;
    }
public static function ensure ( ) { $ cnt = 0 ; foreach ( self :: $ instances as $ instance ) { if ( ! $ instance -> isAlive ( ) ) { $ instance -> reset ( ) ; $ cnt ++ ; } } return $ cnt ; }
Ensure all known, non terminated, resource objects are golden
Ensure all known non terminated resource objects are golden