Anhskohbo\NoCaptcha\NoCaptcha::buildAttributes PHP Метод

buildAttributes() защищенный метод

Build HTML attributes.
protected buildAttributes ( array $attributes ) : string
$attributes array
Результат string
    protected function buildAttributes(array $attributes)
    {
        $html = [];
        foreach ($attributes as $key => $value) {
            $html[] = $key . '="' . $value . '"';
        }
        return count($html) ? ' ' . implode(' ', $html) : '';
    }