@@ 714-723 (lines=10) @@ | ||
711 | * @param $asset |
|
712 | * @return $this |
|
713 | */ |
|
714 | public function addAsset($collection, $asset) |
|
715 | { |
|
716 | if (!isset($this->assets[$collection])) { |
|
717 | $this->assets[$collection] = []; |
|
718 | } |
|
719 | ||
720 | $this->assets[$collection][] = $asset; |
|
721 | ||
722 | return $this; |
|
723 | } |
|
724 | ||
725 | /** |
|
726 | * Get the form's stream. |
@@ 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. |