Skip to content

Commit

Permalink
Merge pull request #62 from PhpGt/54-bind-extensions
Browse files Browse the repository at this point in the history
Bind extensions
  • Loading branch information
g105b authored Jun 17, 2019
2 parents 50534c2 + 74b2099 commit 2c1b60b
Show file tree
Hide file tree
Showing 13 changed files with 780 additions and 719 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"license": "MIT",

"require": {
"phpgt/dom": "1.*",
"ext-dom": "*"
"ext-dom": "*",
"phpgt/dom": "*"
},
"require-dev": {
"phpunit/phpunit": "8.*"
Expand Down
104 changes: 43 additions & 61 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions src/Attr.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
<?php
namespace Gt\DomTemplate;

use DOMNode;
use Gt\Dom\Attr as BaseAttr;

/**
* @property-read Element $ownerElement
* @property-read Element $parentNode
* @property-read Node|Element|null $firstChild
* @property-read Node|Element|null $lastChild
* @property-read Node|Element|null $previousSibling
* @property-read Node|Element|null $nextSibling
* @property-read Document $ownerDocument
*
* @method Element appendChild(DOMNode $newnode)
* @method Element cloneNode(bool $deep = false)
* @method Element insertBefore(DOMNode $newnode, DOMNode $refnode = null)
* @method Element removeChild(DOMNode $oldnode)
* @method Element replaceChild(DOMNode $newnode, DOMNode $oldnode)
*/
class Attr extends BaseAttr {}
Loading

0 comments on commit 2c1b60b

Please sign in to comment.