lib/Koine/View/Renderer.php
public function setData(array $data)
    {
        foreach ($this->getData()->toArray() as $key => $value) {
            $this->getData()->offsetUnset($key);
        }

        $this->addData($data);

        return $this;
    }
public function setData(array $data)
    {
        foreach ($this->getData()->toArray() as $key => $value) {
            $this->getData()->offsetUnset($key);
        }

        $this->addData($data);

        return $this;
    }
public function setData ( array $ data ) { foreach ( $ this -> getData ( ) -> toArray ( ) as $ key => $ value ) { $ this -> getData ( ) -> offsetUnset ( $ key ) ; } $ this -> addData ( $ data ) ; return $ this ; }
Sets the renderer data
@param  array $data
@return self
Sets the renderer data