Jade\Compiler\AttributesCompiler::compileAttributes PHP Method

compileAttributes() protected method

protected compileAttributes ( array $attributes )
$attributes array
    protected function compileAttributes($attributes)
    {
        $items = '';
        $classes = array();
        $classesCheck = array();
        foreach ($attributes as $attr) {
            $items .= $this->getAttributeCode($attr, $classes, $classesCheck);
        }
        $items .= $this->getClassesCode($classes, $classesCheck);
        $this->buffer($items, false);
    }