Page MenuHomeWickedGov Phorge

UnionType.php
No OneTemporary

Size
681 B
Referenced Files
None
Subscribers
None

UnionType.php

<?php declare(strict_types=1);
namespace PhpParser\Node;
class UnionType extends ComplexType
{
/** @var (Identifier|Name|IntersectionType)[] Types */
public $types;
/**
* Constructs a union type.
*
* @param (Identifier|Name|IntersectionType)[] $types Types
* @param array $attributes Additional attributes
*/
public function __construct(array $types, array $attributes = []) {
$this->attributes = $attributes;
$this->types = $types;
}
public function getSubNodeNames() : array {
return ['types'];
}
public function getType() : string {
return 'UnionType';
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Nov 21, 18:33 (20 h, 55 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
3c/92/5f71bb947d6f5650ef19adce0092
Default Alt Text
UnionType.php (681 B)

Event Timeline