You are here

public function PhantomJSCaptureHelperInterface::capture in PhantomJS Capture 8

Perform a capture with PhantomJS.

Parameters

$url:

$destination:

$filename:

null $element:

Return value

mixed

1 method overrides PhantomJSCaptureHelperInterface::capture()
PhantomJSCaptureHelper::capture in src/PhantomJSCaptureHelper.php
Captures a screen shot using PhantomJS by calling the program.

File

src/PhantomJSCaptureHelperInterface.php, line 38

Class

PhantomJSCaptureHelperInterface
Define an interface for a basic phantomjs helper.

Namespace

Drupal\phantomjs_capture

Code

public function capture(Url $url, $destination, $filename, $element = NULL);