protected function getConditionsFromKey($key)
    {
        if (is_int($key) || ctype_digit($key)) {
            return array(self::MATCH_CONTENT_ID => $key);
        }
        return array(self::MATCH_CONTENT_REMOTE_ID => $key);
    }
protected function getConditionsFromKey($key)
    {
        if (is_int($key) || ctype_digit($key)) {
            return array(self::MATCH_CONTENT_ID => $key);
        }
        return array(self::MATCH_CONTENT_REMOTE_ID => $key);
    }
protected function getConditionsFromKey ( $ key ) { if ( is_int ( $ key ) || ctype_digit ( $ key ) ) { return array ( self :: MATCH_CONTENT_ID => $ key ) ; } return array ( self :: MATCH_CONTENT_REMOTE_ID => $ key ) ; }
When matching by key, we accept content Id and remote Id only
@param int|string $key
@return array
When matching by key we accept content Id and remote Id only