public static function current_state($class = null, $includeSubclasses = true)
    {
        $state = array();
        foreach (self::variants($class, $includeSubclasses) as $variant => $instance) {
            $state[$variant] = $instance->currentState();
        }
        return $state;
    }
public static function current_state($class = null, $includeSubclasses = true)
    {
        $state = array();
        foreach (self::variants($class, $includeSubclasses) as $variant => $instance) {
            $state[$variant] = $instance->currentState();
        }
        return $state;
    }
public static function current_state ( $ class = null , $ includeSubclasses = true ) { $ state = array ( ) ; foreach ( self :: variants ( $ class , $ includeSubclasses ) as $ variant => $ instance ) { $ state [ $ variant ] = $ instance -> currentState ( ) ; } return $ state ; }
Get the current state of every variant
@static
@return array
Get the current state of every variant