Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php declare(strict_types=1);
2
 
3
namespace PhpParser\Node;
4
 
5
use PhpParser\Node;
6
use PhpParser\NodeAbstract;
7
 
8
class AttributeGroup extends NodeAbstract
9
{
10
    /** @var Attribute[] Attributes */
11
    public $attrs;
12
 
13
    /**
14
     * @param Attribute[] $attrs PHP attributes
15
     * @param array $attributes Additional node attributes
16
     */
17
    public function __construct(array $attrs, array $attributes = []) {
18
        $this->attributes = $attributes;
19
        $this->attrs = $attrs;
20
    }
21
 
22
    public function getSubNodeNames() : array {
23
        return ['attrs'];
24
    }
25
 
26
    public function getType() : string {
27
        return 'AttributeGroup';
28
    }
29
}