protected static function extractType($type)
    {
        if (substr($type, -2) === Connection::PARAM_ARRAY) {
            return substr($type, 0, strlen($type) - 2);
        }

        return false;
    }
protected static function extractType($type)
    {
        if (substr($type, -2) === Connection::PARAM_ARRAY) {
            return substr($type, 0, strlen($type) - 2);
        }

        return false;
    }
protected static function extractType ( $ type ) { if ( substr ( $ type , - 2 ) === Connection :: PARAM_ARRAY ) { return substr ( $ type , 0 , strlen ( $ type ) - 2 ) ; } return false ; }
Extracts the fridge type from the expanded type.

@param string $type The type.

@return string|boolean The fridge type or false if the type is not an expanded one.
Extracts the fridge type from the expanded type .