| @@ 17-24 (lines=8) @@ | ||
| 14 | } |
|
| 15 | ||
| 16 | /** {@inheritdoc} */ |
|
| 17 | public function create(DetachedResource $resource, array $fieldNames = [], $useKey = true) |
|
| 18 | { |
|
| 19 | $fieldNames = array_intersect($fieldNames, [ |
|
| 20 | 'content', |
|
| 21 | ]); |
|
| 22 | ||
| 23 | return parent::create($resource, $fieldNames, $useKey); |
|
| 24 | } |
|
| 25 | } |
|
| 26 | ||
| @@ 34-41 (lines=8) @@ | ||
| 31 | } |
|
| 32 | ||
| 33 | /** {@inheritdoc} */ |
|
| 34 | public function create(DetachedResource $resource, array $fieldNames = [], $useKey = true) |
|
| 35 | { |
|
| 36 | $fieldNames = array_intersect($fieldNames, [ |
|
| 37 | 'name', |
|
| 38 | ]); |
|
| 39 | ||
| 40 | return parent::create($resource, $fieldNames, $useKey); |
|
| 41 | } |
|
| 42 | } |
|
| 43 | ||