WSDL\XML\XMLAttributeHelper::createAttributeWithValue PHP Méthode

createAttributeWithValue() public méthode

public createAttributeWithValue ( string $attributeName, string $value ) : DOMAttr
$attributeName string
$value string
Résultat DOMAttr
    public function createAttributeWithValue($attributeName, $value)
    {
        $attribute = $this->DOMDocument->createAttribute($attributeName);
        $attribute->value = $value;
        return $attribute;
    }