Skip to content

Commit 7681b2c

Browse files
committed
Remove implementation for getNamespaceUri and getNamespacePrefix; implemented generically in xml-common
1 parent 4a21a0a commit 7681b2c

2 files changed

Lines changed: 0 additions & 44 deletions

File tree

src/XML/ds/AbstractDsElement.php

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,4 @@ abstract class AbstractDsElement extends AbstractXMLElement
1919

2020
/** @var string */
2121
public const NS_PREFIX = 'ds';
22-
23-
24-
/**
25-
* Get the namespace for the element.
26-
*
27-
* @return string
28-
*/
29-
public static function getNamespaceURI(): string
30-
{
31-
return static::NS;
32-
}
33-
34-
35-
/**
36-
* Get the namespace-prefix for the element.
37-
*
38-
* @return string
39-
*/
40-
public static function getNamespacePrefix(): string
41-
{
42-
return static::NS_PREFIX;
43-
}
4422
}

src/XML/xenc/AbstractXencElement.php

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,4 @@ abstract class AbstractXencElement extends AbstractXMLElement
1919

2020
/** @var string */
2121
public const NS_PREFIX = 'xenc';
22-
23-
24-
/**
25-
* Get the namespace for the element.
26-
*
27-
* @return string
28-
*/
29-
public static function getNamespaceURI(): string
30-
{
31-
return static::NS;
32-
}
33-
34-
35-
/**
36-
* Get the namespace-prefix for the element.
37-
*
38-
* @return string
39-
*/
40-
public static function getNamespacePrefix(): string
41-
{
42-
return static::NS_PREFIX;
43-
}
4422
}

0 commit comments

Comments
 (0)