GenericNode.php 392 B

123456789101112131415161718
  1. <?php
  2. namespace Twilio\TwiML;
  3. class GenericNode extends TwiML {
  4. /**
  5. * GenericNode constructor.
  6. *
  7. * @param string $name XML element name
  8. * @param string $value XML value
  9. * @param array $attributes XML attributes
  10. */
  11. public function __construct($name, $value, $attributes) {
  12. parent::__construct($name, $value, $attributes);
  13. $this->name = $name;
  14. $this->value = $value;
  15. }}