FaxResponse.php 564 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * This code was generated by
  4. * \ / _ _ _| _ _
  5. * | (_)\/(_)(_|\/| |(/_ v1.0.0
  6. * / /
  7. */
  8. namespace Twilio\TwiML;
  9. class FaxResponse extends TwiML {
  10. /**
  11. * FaxResponse constructor.
  12. */
  13. public function __construct() {
  14. parent::__construct('Response');
  15. }
  16. /**
  17. * Add Receive child.
  18. *
  19. * @param array $attributes Optional attributes
  20. * @return TwiML Child element.
  21. */
  22. public function receive($attributes = array()) {
  23. return $this->nest(new Fax\Receive($attributes));
  24. }
  25. }