protected function supportedType($type)
    {
        $supportedType = false;

        $baseType = substr($type, 0, strpos($type, '-'));

        if (array_key_exists($baseType, $this->supportedTypes)) {
            $supportedType = $baseType;
        }

        return $supportedType;
    }
protected function supportedType($type)
    {
        $supportedType = false;

        $baseType = substr($type, 0, strpos($type, '-'));

        if (array_key_exists($baseType, $this->supportedTypes)) {
            $supportedType = $baseType;
        }

        return $supportedType;
    }
protected function supportedType ( $ type ) { $ supportedType = false ; $ baseType = substr ( $ type , 0 , strpos ( $ type , '-' ) ) ; if ( array_key_exists ( $ baseType , $ this -> supportedTypes ) ) { $ supportedType = $ baseType ; } return $ supportedType ; }
Find the matching installer type

@param string $type
@return boolean|string
Find the matching installer type