protected function getParams($type, $value)
    {
        if (false === strpos($value, '-')) {
            throw new InvalidConfigurationException(sprintf('The "%s" option must be configured with "{prefix}-{size}"', $type));
        }

        list($prefix, $size) = explode('-', $value);

        if (!\in_array($prefix, $this->validPrefix)) {
            throw new InvalidConfigurationException(sprintf('The "%s" prefix option does not exist. Known options are: "'.implode('", "', $this->validPrefix).'"', $type));
        }

        if (!(int) $size) {
            throw new InvalidConfigurationException(sprintf('The "%s" size option must be an integer', $type));
        }

        return [$prefix, $size];
    }