method unsetCfg documentation in bbn\User

Unsets the attribute(s) in the session config.

function($attr) { if (null !== $this->cfg) { if (\is_string($attr)) { /** @var array $attr */ $attr = [$attr]; } if (is_array($attr)) { foreach ($attr as $key) { if (isset($key)) { unset($this->cfg[$key]); } } $this->setSession(['cfg' => $this->cfg]); } } return $this; }

Unsets the attribute(s) in the session config. 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.