src/DebugBar/DebugBar.php
public function stackData()
    {
        $http = $this->initStackSession();

        $data = null;
        if (!$this->isDataPersisted() || $this->stackAlwaysUseSessionStorage) {
            $data = $this->getData();
        } elseif ($this->data === null) {
            $this->collect();
        }

        $stack = $http->getSessionValue($this->stackSessionNamespace);
        $stack[$this->getCurrentRequestId()] = $data;
        $http->setSessionValue($this->stackSessionNamespace, $stack);
        return $this;
    }
public function stackData()
    {
        $http = $this->initStackSession();

        $data = null;
        if (!$this->isDataPersisted() || $this->stackAlwaysUseSessionStorage) {
            $data = $this->getData();
        } elseif ($this->data === null) {
            $this->collect();
        }

        $stack = $http->getSessionValue($this->stackSessionNamespace);
        $stack[$this->getCurrentRequestId()] = $data;
        $http->setSessionValue($this->stackSessionNamespace, $stack);
        return $this;
    }
public function stackData ( ) { $ http = $ this -> initStackSession ( ) ; $ data = null ; if ( ! $ this -> isDataPersisted ( ) || $ this -> stackAlwaysUseSessionStorage ) { $ data = $ this -> getData ( ) ; } elseif ( $ this -> data === null ) { $ this -> collect ( ) ; } $ stack = $ http -> getSessionValue ( $ this -> stackSessionNamespace ) ; $ stack [ $ this -> getCurrentRequestId ( ) ] = $ data ; $ http -> setSessionValue ( $ this -> stackSessionNamespace , $ stack ) ; return $ this ; }
Stacks the data in the session for later rendering
Stacks the data in the session for later rendering