@@ 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. |
@@ 791-800 (lines=10) @@ | ||
788 | * @param $asset |
|
789 | * @return $this |
|
790 | */ |
|
791 | public function addAsset($collection, $asset) |
|
792 | { |
|
793 | if (!isset($this->assets[$collection])) { |
|
794 | $this->assets[$collection] = []; |
|
795 | } |
|
796 | ||
797 | $this->assets[$collection][] = $asset; |
|
798 | ||
799 | return $this; |
|
800 | } |
|
801 | ||
802 | /** |
|
803 | * Get the form's stream. |