public function initialize($attributes, $id = null)
    {
        if ($this->started) {
            return $this;
        }
        
        $this->id = $id ?: $this->id;
        $this->attributes = $attributes;
        $this->started = true;
        
        return $this;
    }
public function initialize($attributes, $id = null)
    {
        if ($this->started) {
            return $this;
        }
        
        $this->id = $id ?: $this->id;
        $this->attributes = $attributes;
        $this->started = true;
        
        return $this;
    }
public function initialize ( $ attributes , $ id = null ) { if ( $ this -> started ) { return $ this ; } $ this -> id = $ id ? : $ this -> id ; $ this -> attributes = $ attributes ; $ this -> started = true ; return $ this ; }
Store the Session data in the ReadOnly Session and lock it.

@param  array $attributes
@param  string|null $id
@return void
Store the Session data in the ReadOnly Session and lock it .