public function withStorage($name)
    {
        $self          = clone($this);
        $self->segment = $this->session->getSegment($name);

        return $self;
    }
public function withStorage($name)
    {
        $self          = clone($this);
        $self->segment = $this->session->getSegment($name);

        return $self;
    }
public function withStorage ( $ name ) { $ self = clone ( $ this ) ; $ self -> segment = $ this -> session -> getSegment ( $ name ) ; return $ self ; }
create a new segment

@param string $name
@return SessionStorage
create a new segment