src/Budkit/Session/Registry.php
final public function lock()
    {
        if (!isset($this->name) || empty($this->name) || ($this->name === 'default')) {
            //@TODO throw exception, namespace cannot be locked;
            return false;
        }
        //echo $this->name." is ".$locked;
        $this->lock = TRUE;
    }
final public function lock()
    {
        if (!isset($this->name) || empty($this->name) || ($this->name === 'default')) {
            //@TODO throw exception, namespace cannot be locked;
            return false;
        }
        //echo $this->name." is ".$locked;
        $this->lock = TRUE;
    }
final public function lock ( ) { if ( ! isset ( $ this -> name ) || empty ( $ this -> name ) || ( $ this -> name === 'default' ) ) { //@TODO throw exception, namespace cannot be locked; return false ; } //echo $this->name." is ".$locked; $ this -> lock = TRUE ; }
Locks the registry

@return void
Locks the registry