public __construct ( string $type, array $parts = [] ) | ||
$type | string | Instance type of composite expression. |
$parts | array | Composition of expressions to be joined on composite expression. |
public function __construct($type, array $parts = array())
{
$this->type = $type;
$this->addMultiple($parts);
}