| @@ 509-518 (lines=10) @@ | ||
| 506 | * @param $asset | |
| 507 | * @return $this | |
| 508 | */ | |
| 509 | public function addAsset($collection, $asset) | |
| 510 |     { | |
| 511 |         if (!isset($this->assets[$collection])) { | |
| 512 | $this->assets[$collection] = []; | |
| 513 | } | |
| 514 | ||
| 515 | $this->assets[$collection][] = $asset; | |
| 516 | ||
| 517 | return $this; | |
| 518 | } | |
| 519 | ||
| 520 | /** | |
| 521 | * Get the table's stream. | |
| @@ 252-261 (lines=10) @@ | ||
| 249 | * @param $asset | |
| 250 | * @return $this | |
| 251 | */ | |
| 252 | public function addAsset($collection, $asset) | |
| 253 |     { | |
| 254 |         if (!isset($this->assets[$collection])) { | |
| 255 | $this->assets[$collection] = []; | |
| 256 | } | |
| 257 | ||
| 258 | $this->assets[$collection][] = $asset; | |
| 259 | ||
| 260 | return $this; | |
| 261 | } | |
| 262 | ||
| 263 | /** | |
| 264 | * Get the grid's stream. | |
| @@ 319-328 (lines=10) @@ | ||
| 316 | * @param $asset | |
| 317 | * @return $this | |
| 318 | */ | |
| 319 | public function addAsset($collection, $asset) | |
| 320 |     { | |
| 321 |         if (!isset($this->assets[$collection])) { | |
| 322 | $this->assets[$collection] = []; | |
| 323 | } | |
| 324 | ||
| 325 | $this->assets[$collection][] = $asset; | |
| 326 | ||
| 327 | return $this; | |
| 328 | } | |
| 329 | ||
| 330 | /** | |
| 331 | * Get the tree's stream. | |
| @@ 771-780 (lines=10) @@ | ||
| 768 | * @param $asset | |
| 769 | * @return $this | |
| 770 | */ | |
| 771 | public function addAsset($collection, $asset) | |
| 772 |     { | |
| 773 |         if (!isset($this->assets[$collection])) { | |
| 774 | $this->assets[$collection] = []; | |
| 775 | } | |
| 776 | ||
| 777 | $this->assets[$collection][] = $asset; | |
| 778 | ||
| 779 | return $this; | |
| 780 | } | |
| 781 | ||
| 782 | /** | |
| 783 | * Get the form's stream. | |