method push documentation in bbn\User\Session
function($value)
{
if ($this->id) {
$args = \func_get_args();
array_shift($args);
$var = $this->get(...$args);
if (!\is_array($var)) {
$var = [];
}
if (!\in_array($value, $var)) {
array_push($var, $value);
array_unshift($args, $var);
$this->set(...$args);
}
return $this;
}
}
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.
© 2011-2025
BBN Solutions