- Add package.json dependencies: jquery, jquery-ui, moment, daterangepicker, wavesurfer.js, air-datepicker - Create scripts/setup-vendor.js to copy npm packages to public/assets/vendor - Update view templates to use vendor paths instead of old /js/ or CDN URLs - Clean up legacy commented-out scripts in master layout
30 lines
648 B
PHP
30 lines
648 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace PhpParser\Node;
|
|
|
|
use PhpParser\Node;
|
|
use PhpParser\NodeAbstract;
|
|
|
|
class AttributeGroup extends NodeAbstract
|
|
{
|
|
/** @var Attribute[] Attributes */
|
|
public $attrs;
|
|
|
|
/**
|
|
* @param Attribute[] $attrs PHP attributes
|
|
* @param array $attributes Additional node attributes
|
|
*/
|
|
public function __construct(array $attrs, array $attributes = []) {
|
|
$this->attributes = $attributes;
|
|
$this->attrs = $attrs;
|
|
}
|
|
|
|
public function getSubNodeNames() : array {
|
|
return ['attrs'];
|
|
}
|
|
|
|
public function getType() : string {
|
|
return 'AttributeGroup';
|
|
}
|
|
}
|