public function draw(string $file, array $data) : string
    {
        $this->file = $file;
        $this->data = $data;

        return $this->getOutputs();
    }
public function draw(string $file, array $data) : string
    {
        $this->file = $file;
        $this->data = $data;

        return $this->getOutputs();
    }
public function draw ( string $ file , array $ data ) : string { $ this -> file = $ file ; $ this -> data = $ data ; return $ this -> getOutputs ( ) ; }
Proccess and render a template.

@param string $file
@param array  $data

@return string
Proccess and render a template .