protected function createAttribute($condition, $key, $value = NULL)
    {
        return ! empty($condition) ? ' ' . $key . '="' . trim($value ?? $condition) . '"' : '';
    }
protected function createAttribute($condition, $key, $value = NULL)
    {
        return ! empty($condition) ? ' ' . $key . '="' . trim($value ?? $condition) . '"' : '';
    }
protected function createAttribute ( $ condition , $ key , $ value = NULL ) { return ! empty ( $ condition ) ? ' ' . $ key . '="' . trim ( $ value ?? $ condition ) . '"' : '' ; }
Protcted create attribute
Protcted create attribute