| @@ 254-263 (lines=10) @@ | ||
| 251 | * @param $asset |
|
| 252 | * @return $this |
|
| 253 | */ |
|
| 254 | public function addAsset($collection, $asset) |
|
| 255 | { |
|
| 256 | if (!isset($this->assets[$collection])) { |
|
| 257 | $this->assets[$collection] = []; |
|
| 258 | } |
|
| 259 | ||
| 260 | $this->assets[$collection][] = $asset; |
|
| 261 | ||
| 262 | return $this; |
|
| 263 | } |
|
| 264 | ||
| 265 | /** |
|
| 266 | * Get the grid's stream. |
|
| @@ 321-330 (lines=10) @@ | ||
| 318 | * @param $asset |
|
| 319 | * @return $this |
|
| 320 | */ |
|
| 321 | public function addAsset($collection, $asset) |
|
| 322 | { |
|
| 323 | if (!isset($this->assets[$collection])) { |
|
| 324 | $this->assets[$collection] = []; |
|
| 325 | } |
|
| 326 | ||
| 327 | $this->assets[$collection][] = $asset; |
|
| 328 | ||
| 329 | return $this; |
|
| 330 | } |
|
| 331 | ||
| 332 | /** |
|
| 333 | * Get the tree's stream. |
|
| @@ 511-520 (lines=10) @@ | ||
| 508 | * @param $asset |
|
| 509 | * @return $this |
|
| 510 | */ |
|
| 511 | public function addAsset($collection, $asset) |
|
| 512 | { |
|
| 513 | if (!isset($this->assets[$collection])) { |
|
| 514 | $this->assets[$collection] = []; |
|
| 515 | } |
|
| 516 | ||
| 517 | $this->assets[$collection][] = $asset; |
|
| 518 | ||
| 519 | return $this; |
|
| 520 | } |
|
| 521 | ||
| 522 | /** |
|
| 523 | * Get the table's stream. |
|
| @@ 728-737 (lines=10) @@ | ||
| 725 | * @param $asset |
|
| 726 | * @return $this |
|
| 727 | */ |
|
| 728 | public function addAsset($collection, $asset) |
|
| 729 | { |
|
| 730 | if (!isset($this->assets[$collection])) { |
|
| 731 | $this->assets[$collection] = []; |
|
| 732 | } |
|
| 733 | ||
| 734 | $this->assets[$collection][] = $asset; |
|
| 735 | ||
| 736 | return $this; |
|
| 737 | } |
|
| 738 | ||
| 739 | /** |
|
| 740 | * Get the form's stream. |
|