回答編集履歴
1
説明を補足
answer
CHANGED
@@ -12,4 +12,15 @@
|
|
12
12
|
public function __construct($params, $ids, $data, $options == null) {
|
13
13
|
$this->_options = $options == null ? Sample_Model_Service_B::getOption($data) : $options;
|
14
14
|
}
|
15
|
+
```
|
16
|
+
|
17
|
+
`testsetResult`の中で`$options`をセットします。
|
18
|
+
|
19
|
+
```
|
20
|
+
public function testsetResult()
|
21
|
+
{
|
22
|
+
...
|
23
|
+
$sample = new Sample_Model_Service_A($params, $ids, $data, $options);
|
24
|
+
...
|
25
|
+
}
|
15
26
|
```
|