method addData documentation in bbn\Mvc\Controller

Merges the existing data if there is with this one. Chainable.

function(array $data) { $ar = \func_get_args(); foreach ($ar as $d) { if (\is_array($d)) { $this->data = empty($this->data) ? $d : array_merge($this->data, $d); } } return $this; }

Merges the existing data if there is with this one. Chainable. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.