ApiGen\Configuration\ConfigurationOptionsResolver::setAllowedValues PHP Метод

setAllowedValues() приватный метод

private setAllowedValues ( )
    private function setAllowedValues()
    {
        $this->resolver->addAllowedValues(CO::DESTINATION, function ($destination) {
            return $this->allowedValuesForDestination($destination);
        });
        $this->resolver->addAllowedValues(CO::SOURCE, function ($source) {
            return $this->allowedValuesForSource($source);
        });
        $this->resolver->addAllowedValues(CO::TEMPLATE_CONFIG, function ($value) {
            if ($value && !is_file($value)) {
                throw new ConfigurationException("Template config '{$value}' was not found");
            }
            return true;
        });
    }