public function getAdapterType()
  {
    if($this->adapter instanceof \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Adapter\AbstractAdapter)
    {
      $string = \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Helper\String::factory(get_class($this->adapter));

      return $string->substr($string->findLast("\\"))->replace(array("\\", " "), "")->toString();
    }

    return "Unknown";
  }
public function getAdapterType()
  {
    if($this->adapter instanceof \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Adapter\AbstractAdapter)
    {
      $string = \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Helper\String::factory(get_class($this->adapter));

      return $string->substr($string->findLast("\\"))->replace(array("\\", " "), "")->toString();
    }

    return "Unknown";
  }
public function getAdapterType ( ) { if ( $ this -> adapter instanceof \ ManiaLivePlugins \ Standard \ TeamSpeak \ TeamSpeak3 \ Adapter \ AbstractAdapter ) { $ string = \ ManiaLivePlugins \ Standard \ TeamSpeak \ TeamSpeak3 \ Helper \ String :: factory ( get_class ( $ this -> adapter ) ) ; return $ string -> substr ( $ string -> findLast ( "\\" ) ) -> replace ( array ( "\\" , " " ) , "" ) -> toString ( ) ; } return "Unknown" ; }
Returns the adapter type.

@return string
Returns the adapter type .