<?php

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

namespace Twilio\TwiML;

class FaxResponse extends TwiML {
    /**
     * FaxResponse constructor.
     */
    public function __construct() {
        parent::__construct('Response');
    }

    /**
     * Add Receive child.
     * 
     * @param array $attributes Optional attributes
     * @return TwiML Child element.
     */
    public function receive($attributes = array()) {
        return $this->nest(new Fax\Receive($attributes));
    }
}