protected function flush()
    {
        $this->lastClassName = $this->className;

        if ($this->currentDependency !== null) {
            $this->getCollection()->addDependency(
                $this->id,
                $this->className,
                $this->constructor,
                $this->currentDependency);
        }

        $this->currentDependency = null;
    }
protected function flush()
    {
        $this->lastClassName = $this->className;

        if ($this->currentDependency !== null) {
            $this->getCollection()->addDependency(
                $this->id,
                $this->className,
                $this->constructor,
                $this->currentDependency);
        }

        $this->currentDependency = null;
    }
protected function flush ( ) { $ this -> lastClassName = $ this -> className ; if ( $ this -> currentDependency !== null ) { $ this -> getCollection ( ) -> addDependency ( $ this -> id , $ this -> className , $ this -> constructor , $ this -> currentDependency ) ; } $ this -> currentDependency = null ; }
Flushes the content.

This method is intend to flush the temporary content.

@author Benjamin Carl <opensource@clickalicious.de>
Flushes the content .