protected function checkIncludePaths(ErrorCollection $errors, EncodingParametersInterface $parameters)
{
$withinAllowed = $this->valuesWithinAllowed($parameters->getIncludePaths(), $this->includePaths);
$withinAllowed === true ?: $errors->addQueryParameterError(QP::PARAM_INCLUDE, T::t('Include paths should contain only allowed ones.'));
}