public function addData(array $data, $templates = null)
    {
        $this->engine->addData($data, $templates);

        return $this->engine;
    }
public function addData(array $data, $templates = null)
    {
        $this->engine->addData($data, $templates);

        return $this->engine;
    }
public function addData ( array $ data , $ templates = null ) { $ this -> engine -> addData ( $ data , $ templates ) ; return $ this -> engine ; }
Add data to render.

@param  array  $data      Data
@param  string $templates Template
@return League\Plates\Engine
Add data to render .