LdapTools\AttributeConverter\ConvertValueToDn::validateCurrentAttribute PHP Метод

validateCurrentAttribute() защищенный Метод

Make sure that the current attribute has actually been defined.
protected validateCurrentAttribute ( )
    protected function validateCurrentAttribute()
    {
        if (!array_key_exists(MBString::strtolower($this->getAttribute()), MBString::array_change_key_case($this->getOptions()))) {
            throw new AttributeConverterException(sprintf('Attribute "%s" must be defined in the converter options.', $this->getAttribute()));
        }
    }