method transform documentation in bbn\User\Session
function(callable $fn)
{
if ($this->id) {
$args = \func_get_args();
array_shift($args);
$transformed = \call_user_func($fn, $this->_get_value($args));
array_unshift($args, $transformed);
$this->_set_value($args);
$this->open();
$_SESSION[self::$name] = $this->data;
$this->close();
}
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