<?php

/**
 * This code was generated by
 * \ / _    _  _|   _  _
 * | (_)\/(_)(_|\/| |(/_  v1.0.0
 * /       /
 */

namespace Twilio\TwiML\Voice;

use Twilio\TwiML\TwiML;

class Headers extends TwiML {
    /**
     * Headers constructor.
     */
    public function __construct() {
        parent::__construct('Headers', null);
    }

    /**
     * Add Header child.
     *
     * @param array $attributes Optional attributes
     * @return Header Child element.
     */
    public function header($attributes = []): Header {
        return $this->nest(new Header($attributes));
    }
}