private function renderTemplate($filePath)
    {
        return $this->render(array(
            'url' => $this->url,
            'width' => $this->width,
            'height' => $this->height,
            'fullPage' => $this->fullPage,
            'timeout' => $this->timeout * 1000, // convert into milliseconds
            'waitForImages' => $this->waitForImages,
            'imagesLoadingTimeout' => $this->imagesLoadingTimeout * 1000, // convert into milliseconds
        ), $filePath);
    }
private function renderTemplate($filePath)
    {
        return $this->render(array(
            'url' => $this->url,
            'width' => $this->width,
            'height' => $this->height,
            'fullPage' => $this->fullPage,
            'timeout' => $this->timeout * 1000, // convert into milliseconds
            'waitForImages' => $this->waitForImages,
            'imagesLoadingTimeout' => $this->imagesLoadingTimeout * 1000, // convert into milliseconds
        ), $filePath);
    }
private function renderTemplate ( $ filePath ) { return $ this -> render ( array ( 'url' => $ this -> url , 'width' => $ this -> width , 'height' => $ this -> height , 'fullPage' => $ this -> fullPage , 'timeout' => $ this -> timeout * 1000 , // convert into milliseconds 'waitForImages' => $ this -> waitForImages , 'imagesLoadingTimeout' => $ this -> imagesLoadingTimeout * 1000 , // convert into milliseconds ) , $ filePath ) ; }
Render PhantomJS script template

@param $filePath
@return string
Render PhantomJS script template