classes/storage/UserStorage.php
public function setDefaultStorage($obUserStorage, $iMinutePeriod = 1440)
    {
        if (empty($obUserStorage)) {
            return;
        }

        $this->obDefaultStorage = app($obUserStorage);
        if (!empty($this->obDefaultStorage) && $this->obDefaultStorage instanceof CookieUserStorage) {
            $this->obDefaultStorage->setMinutePeriod($iMinutePeriod);
        }
    }
public function setDefaultStorage($obUserStorage, $iMinutePeriod = 1440)
    {
        if (empty($obUserStorage)) {
            return;
        }

        $this->obDefaultStorage = app($obUserStorage);
        if (!empty($this->obDefaultStorage) && $this->obDefaultStorage instanceof CookieUserStorage) {
            $this->obDefaultStorage->setMinutePeriod($iMinutePeriod);
        }
    }
public function setDefaultStorage ( $ obUserStorage , $ iMinutePeriod = 1440 ) { if ( empty ( $ obUserStorage ) ) { return ; } $ this -> obDefaultStorage = app ( $ obUserStorage ) ; if ( ! empty ( $ this -> obDefaultStorage ) && $ this -> obDefaultStorage instanceof CookieUserStorage ) { $ this -> obDefaultStorage -> setMinutePeriod ( $ iMinutePeriod ) ; } }
Set default user storage
@param string $obUserStorage
@param int    $iMinutePeriod
Set default user storage