public function setOwner($type, $id)
    {
        $this->ownerType = $type;
        $this->ownerId = $id;

        return $this;
    }
public function setOwner($type, $id)
    {
        $this->ownerType = $type;
        $this->ownerId = $id;

        return $this;
    }
public function setOwner ( $ type , $ id ) { $ this -> ownerType = $ type ; $ this -> ownerId = $ id ; return $ this ; }
Set the session owner

@param string $type The type of the owner (e.g. user, app)
@param string $id   The identifier of the owner

@return self
Set the session owner