diff options
-rw-r--r-- | src/NodeClass/DOMAttr.php | 8 | ||||
-rw-r--r-- | src/NodeClass/DOMCdataSection.php | 8 | ||||
-rw-r--r-- | src/NodeClass/DOMCharacterData.php | 8 | ||||
-rw-r--r-- | src/NodeClass/DOMComment.php | 8 | ||||
-rw-r--r-- | src/NodeClass/DOMDocument.php | 9 | ||||
-rw-r--r-- | src/NodeClass/DOMDocumentFragment.php | 8 | ||||
-rw-r--r-- | src/NodeClass/DOMDocumentType.php | 8 | ||||
-rw-r--r-- | src/NodeClass/DOMElement.php | 8 | ||||
-rw-r--r-- | src/NodeClass/DOMEntity.php | 8 | ||||
-rw-r--r-- | src/NodeClass/DOMEntityReference.php | 8 | ||||
-rw-r--r-- | src/NodeClass/DOMException.php | 8 | ||||
-rw-r--r-- | src/NodeClass/DOMImplementation.php | 8 | ||||
-rw-r--r-- | src/NodeClass/DOMNamedNodeMap.php | 8 | ||||
-rw-r--r-- | src/NodeClass/DOMNode.php | 8 | ||||
-rw-r--r-- | src/NodeClass/DOMNodeList.php | 8 | ||||
-rw-r--r-- | src/NodeClass/DOMNotation.php | 8 | ||||
-rw-r--r-- | src/NodeClass/DOMProcessingInstruction.php | 8 | ||||
-rw-r--r-- | src/NodeClass/DOMText.php | 8 | ||||
-rw-r--r-- | src/NodeClass/NodeClassTrait.php | 12 |
19 files changed, 157 insertions, 0 deletions
diff --git a/src/NodeClass/DOMAttr.php b/src/NodeClass/DOMAttr.php new file mode 100644 index 0000000..ea8672d --- /dev/null +++ b/src/NodeClass/DOMAttr.php @@ -0,0 +1,8 @@ +<?php + +namespace andreskrey\Readability\NodeClass; + +class DOMAttr extends \DOMAttr +{ + use NodeClassTrait; +} diff --git a/src/NodeClass/DOMCdataSection.php b/src/NodeClass/DOMCdataSection.php new file mode 100644 index 0000000..438ac99 --- /dev/null +++ b/src/NodeClass/DOMCdataSection.php @@ -0,0 +1,8 @@ +<?php + +namespace andreskrey\Readability\NodeClass; + +class DOMCdataSection extends \DOMCdataSection +{ + use NodeClassTrait; +} diff --git a/src/NodeClass/DOMCharacterData.php b/src/NodeClass/DOMCharacterData.php new file mode 100644 index 0000000..480980e --- /dev/null +++ b/src/NodeClass/DOMCharacterData.php @@ -0,0 +1,8 @@ +<?php + +namespace andreskrey\Readability\NodeClass; + +class DOMCharacterData extends \DOMCharacterData +{ + use NodeClassTrait; +} diff --git a/src/NodeClass/DOMComment.php b/src/NodeClass/DOMComment.php new file mode 100644 index 0000000..416460b --- /dev/null +++ b/src/NodeClass/DOMComment.php @@ -0,0 +1,8 @@ +<?php + +namespace andreskrey\Readability\NodeClass; + +class DOMComment extends \DOMComment +{ + use NodeClassTrait; +} diff --git a/src/NodeClass/DOMDocument.php b/src/NodeClass/DOMDocument.php new file mode 100644 index 0000000..9ec5b05 --- /dev/null +++ b/src/NodeClass/DOMDocument.php @@ -0,0 +1,9 @@ +<?php + +namespace andreskrey\Readability\NodeClass; + +class DOMDocument extends \DOMDocument +{ + use NodeClassTrait; + +} diff --git a/src/NodeClass/DOMDocumentFragment.php b/src/NodeClass/DOMDocumentFragment.php new file mode 100644 index 0000000..92b0a10 --- /dev/null +++ b/src/NodeClass/DOMDocumentFragment.php @@ -0,0 +1,8 @@ +<?php + +namespace andreskrey\Readability\NodeClass; + +class DOMDocument extends \DOMDocument +{ + use NodeClassTrait; +} diff --git a/src/NodeClass/DOMDocumentType.php b/src/NodeClass/DOMDocumentType.php new file mode 100644 index 0000000..13f7829 --- /dev/null +++ b/src/NodeClass/DOMDocumentType.php @@ -0,0 +1,8 @@ +<?php + +namespace andreskrey\Readability\NodeClass; + +class DOMDocumentType extends \DOMDocumentType +{ + use NodeClassTrait; +} diff --git a/src/NodeClass/DOMElement.php b/src/NodeClass/DOMElement.php new file mode 100644 index 0000000..a7dc36a --- /dev/null +++ b/src/NodeClass/DOMElement.php @@ -0,0 +1,8 @@ +<?php + +namespace andreskrey\Readability\NodeClass; + +class DOMElement extends \DOMElement +{ + use NodeClassTrait; +} diff --git a/src/NodeClass/DOMEntity.php b/src/NodeClass/DOMEntity.php new file mode 100644 index 0000000..45fba34 --- /dev/null +++ b/src/NodeClass/DOMEntity.php @@ -0,0 +1,8 @@ +<?php + +namespace andreskrey\Readability\NodeClass; + +class DOMEntity extends \DOMEntity +{ + use NodeClassTrait; +} diff --git a/src/NodeClass/DOMEntityReference.php b/src/NodeClass/DOMEntityReference.php new file mode 100644 index 0000000..9cf7d7c --- /dev/null +++ b/src/NodeClass/DOMEntityReference.php @@ -0,0 +1,8 @@ +<?php + +namespace andreskrey\Readability\NodeClass; + +class DOMEntityReference extends \DOMEntityReference +{ + use NodeClassTrait; +} diff --git a/src/NodeClass/DOMException.php b/src/NodeClass/DOMException.php new file mode 100644 index 0000000..124a557 --- /dev/null +++ b/src/NodeClass/DOMException.php @@ -0,0 +1,8 @@ +<?php + +namespace andreskrey\Readability\NodeClass; + +class DOMException extends \DOMException +{ + use NodeClassTrait; +} diff --git a/src/NodeClass/DOMImplementation.php b/src/NodeClass/DOMImplementation.php new file mode 100644 index 0000000..6a2531b --- /dev/null +++ b/src/NodeClass/DOMImplementation.php @@ -0,0 +1,8 @@ +<?php + +namespace andreskrey\Readability\NodeClass; + +class DOMImplementation extends \DOMImplementation +{ + use NodeClassTrait; +} diff --git a/src/NodeClass/DOMNamedNodeMap.php b/src/NodeClass/DOMNamedNodeMap.php new file mode 100644 index 0000000..65a0c71 --- /dev/null +++ b/src/NodeClass/DOMNamedNodeMap.php @@ -0,0 +1,8 @@ +<?php + +namespace andreskrey\Readability\NodeClass; + +class DOMNamedNodeMap extends \DOMNamedNodeMap +{ + use NodeClassTrait; +} diff --git a/src/NodeClass/DOMNode.php b/src/NodeClass/DOMNode.php new file mode 100644 index 0000000..8c13a7f --- /dev/null +++ b/src/NodeClass/DOMNode.php @@ -0,0 +1,8 @@ +<?php + +namespace andreskrey\Readability\NodeClass; + +class DOMNode extends \DOMNode +{ + use NodeClassTrait; +} diff --git a/src/NodeClass/DOMNodeList.php b/src/NodeClass/DOMNodeList.php new file mode 100644 index 0000000..4a1ac66 --- /dev/null +++ b/src/NodeClass/DOMNodeList.php @@ -0,0 +1,8 @@ +<?php + +namespace andreskrey\Readability\NodeClass; + +class DOMNodeList extends \DOMNodeList +{ + use NodeClassTrait; +} diff --git a/src/NodeClass/DOMNotation.php b/src/NodeClass/DOMNotation.php new file mode 100644 index 0000000..3e09bbc --- /dev/null +++ b/src/NodeClass/DOMNotation.php @@ -0,0 +1,8 @@ +<?php + +namespace andreskrey\Readability\NodeClass; + +class DOMNotation extends \DOMNotation +{ + use NodeClassTrait; +} diff --git a/src/NodeClass/DOMProcessingInstruction.php b/src/NodeClass/DOMProcessingInstruction.php new file mode 100644 index 0000000..0c615c6 --- /dev/null +++ b/src/NodeClass/DOMProcessingInstruction.php @@ -0,0 +1,8 @@ +<?php + +namespace andreskrey\Readability\NodeClass; + +class DOMProcessingInstruction extends \DOMProcessingInstruction +{ + use NodeClassTrait; +} diff --git a/src/NodeClass/DOMText.php b/src/NodeClass/DOMText.php new file mode 100644 index 0000000..80ef6c8 --- /dev/null +++ b/src/NodeClass/DOMText.php @@ -0,0 +1,8 @@ +<?php + +namespace andreskrey\Readability\NodeClass; + +class DOMText extends \DOMText +{ + use NodeClassTrait; +} diff --git a/src/NodeClass/NodeClassTrait.php b/src/NodeClass/NodeClassTrait.php new file mode 100644 index 0000000..1706121 --- /dev/null +++ b/src/NodeClass/NodeClassTrait.php @@ -0,0 +1,12 @@ +<?php + +namespace andreskrey\Readability\NodeClass; + +trait NodeClassTrait +{ + public function test() + { + echo 'test'; + } + +} |