TearDownCall.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?php
  2. /**
  3. * Zend Framework
  4. *
  5. * LICENSE
  6. *
  7. * This source file is subject to the new BSD license that is bundled
  8. * with this package in the file LICENSE.txt.
  9. * It is also available through the world-wide-web at this URL:
  10. * http://framework.zend.com/license/new-bsd
  11. * If you did not receive a copy of the license and are unable to
  12. * obtain it through the world-wide-web, please send an email
  13. * to license@zend.com so we can send you a copy immediately.
  14. *
  15. * @category Zend
  16. * @package Zend_Service
  17. * @subpackage DeveloperGarden
  18. * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  19. * @license http://framework.zend.com/license/new-bsd New BSD License
  20. * @version $Id$
  21. */
  22. /**
  23. * @see Zend_Service_DeveloperGarden_VoiceButler_VoiceButlerAbstract
  24. */
  25. require_once 'Zend/Service/DeveloperGarden/Request/VoiceButler/VoiceButlerAbstract.php';
  26. /**
  27. * @category Zend
  28. * @package Zend_Service
  29. * @subpackage DeveloperGarden
  30. * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  31. * @author Marco Kaiser
  32. * @license http://framework.zend.com/license/new-bsd New BSD License
  33. */
  34. class Zend_Service_DeveloperGarden_Request_VoiceButler_TearDownCall
  35. extends Zend_Service_DeveloperGarden_Request_VoiceButler_VoiceButlerAbstract
  36. {
  37. /**
  38. * the session id
  39. *
  40. * @var string
  41. */
  42. public $sessionId = null;
  43. /**
  44. * constructor give them the environment and the sessionId
  45. *
  46. * @param integer $environment
  47. * @param string $sessionId
  48. * @return Zend_Service_DeveloperGarden_Request_RequestAbstract
  49. */
  50. public function __construct($environment, $sessionId)
  51. {
  52. parent::__construct($environment);
  53. $this->setSessionId($sessionId);
  54. }
  55. /**
  56. * @return string
  57. */
  58. public function getSessionId()
  59. {
  60. return $this->sessionId;
  61. }
  62. /**
  63. * sets new sessionId
  64. *
  65. * @param string $sessionId
  66. * @return Zend_Service_DeveloperGarden_Request_VoiceButler_TearDownCall
  67. */
  68. public function setSessionId($sessionId)
  69. {
  70. $this->sessionId = $sessionId;
  71. return $this;
  72. }
  73. }