@@ 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. |
@@ 741-750 (lines=10) @@ | ||
738 | * @param $asset |
|
739 | * @return $this |
|
740 | */ |
|
741 | public function addAsset($collection, $asset) |
|
742 | { |
|
743 | if (!isset($this->assets[$collection])) { |
|
744 | $this->assets[$collection] = []; |
|
745 | } |
|
746 | ||
747 | $this->assets[$collection][] = $asset; |
|
748 | ||
749 | return $this; |
|
750 | } |
|
751 | ||
752 | /** |
|
753 | * Get the form's stream. |
@@ 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. |