src/MIBS/Cisco/SMST.php
public function instances( $name = null )
    {
        if( $name === null )
            $name = $this->getSNMP()->useCisco_MST()->regionName() . '.';
            
        $hops = $this->remainingHopCount();
        
        $instances = [];
        foreach( $hops as $i => $h )
            if( $h != -1 )
                $instances[ $i ] = "{$name}{$i}";
        
        return $instances;
    }
public function instances( $name = null )
    {
        if( $name === null )
            $name = $this->getSNMP()->useCisco_MST()->regionName() . '.';
            
        $hops = $this->remainingHopCount();
        
        $instances = [];
        foreach( $hops as $i => $h )
            if( $h != -1 )
                $instances[ $i ] = "{$name}{$i}";
        
        return $instances;
    }
public function instances ( $ name = null ) { if ( $ name === null ) $ name = $ this -> getSNMP ( ) -> useCisco_MST ( ) -> regionName ( ) . '.' ; $ hops = $ this -> remainingHopCount ( ) ; $ instances = [ ] ; foreach ( $ hops as $ i => $ h ) if ( $ h != - 1 ) $ instances [ $ i ] = "{$name}{$i}" ; return $ instances ; }
Returns an array of running MST instances.

This is a hack on the remainingHopCount() as the MIB of this
is empty on my test box (.1.3.6.1.4.1.9.9.82.1.14.5.1.1)

We name the instances as well based on the region name / use specified string.

@param string $name If null, then instances are named using the MST region name. Else this is the root of the name.
@return array The running MST instances
Returns an array of running MST instances .