src/Web/SessionContext.php
public function cleanObj($objName, $stateful = false)
    {
        if (preg_match('/\./si', $objName)) {
            $objName = $this->getNamespace() . '#' . $objName;
        }
        if (!$stateful) {
            unset($this->_sessObjArr[$objName]);
        } else {
            unset($this->_statefulSessObjArr[$objName]);
        }
    }
public function cleanObj($objName, $stateful = false)
    {
        if (preg_match('/\./si', $objName)) {
            $objName = $this->getNamespace() . '#' . $objName;
        }
        if (!$stateful) {
            unset($this->_sessObjArr[$objName]);
        } else {
            unset($this->_statefulSessObjArr[$objName]);
        }
    }
Clean Object

@param string $objName object name
@param boolean $stateful
@return void