src/Genesis/Builders/XML.php
public function writeElement($key, $value)
    {
        if (is_array($value)) {
            $this->iterateArray($key, $value);
        } else {
            $value = \Genesis\Utils\Common::booleanToString($value);

            $this->context->writeElement($key, $value);
        }
    }
public function writeElement($key, $value)
    {
        if (is_array($value)) {
            $this->iterateArray($key, $value);
        } else {
            $value = \Genesis\Utils\Common::booleanToString($value);

            $this->context->writeElement($key, $value);
        }
    }
public function writeElement ( $ key , $ value ) { if ( is_array ( $ value ) ) { $ this -> iterateArray ( $ key , $ value ) ; } else { $ value = \ Genesis \ Utils \ Common :: booleanToString ( $ value ) ; $ this -> context -> writeElement ( $ key , $ value ) ; } }
Write XML Element

@param $key
@param $value

@SuppressWarnings(PHPMD.ElseExpression)
Write XML Element