equal
deleted
inserted
replaced
|
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_Tool |
|
17 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
|
18 * @license http://framework.zend.com/license/new-bsd New BSD License |
|
19 * @version $Id: InputResponse.php 20096 2010-01-06 02:05:09Z bkarwin $ |
|
20 */ |
|
21 |
|
22 /** |
|
23 * @category Zend |
|
24 * @package Zend_Tool |
|
25 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
|
26 * @license http://framework.zend.com/license/new-bsd New BSD License |
|
27 */ |
|
28 class Zend_Tool_Framework_Client_Interactive_InputResponse |
|
29 { |
|
30 |
|
31 protected $_content = null; |
|
32 |
|
33 public function __construct($content = null) |
|
34 { |
|
35 if ($content) { |
|
36 $this->setContent($content); |
|
37 } |
|
38 } |
|
39 |
|
40 public function setContent($content) |
|
41 { |
|
42 $this->_content = $content; |
|
43 return $this; |
|
44 } |
|
45 |
|
46 public function getContent() |
|
47 { |
|
48 return $this->_content; |
|
49 } |
|
50 |
|
51 |
|
52 } |