22
33namespace Josh \Component \PhantomJs \Facade ;
44
5- use JonnyW \PhantomJs \Engine ;
65use Illuminate \Support \Facades \Facade ;
6+ use Josh \Component \PhantomJs \PhantomJs as PhantomJsComponent ;
7+ use JonnyW \PhantomJs \Engine ;
8+ use JonnyW \PhantomJs \Client ;
79use JonnyW \PhantomJs \Http \CaptureRequest ;
810use JonnyW \PhantomJs \Http \PdfRequest ;
911use JonnyW \PhantomJs \Http \Request ;
1416use JonnyW \PhantomJs \Procedure \ProcedureCompilerInterface ;
1517
1618/**
17- * @method static getLog
18- * @method static void isLazy
19- * @method static Engine getEngine
20- * @method static string getProcedure
21- * @method static void setProcedure($procedure)
22- * @method static MessageFactoryInterface getMessageFactory
23- * @method static ProcedureLoaderInterface getProcedureLoader
24- * @method static ProcedureCompilerInterface getProcedureCompiler
25- * @method static ResponseInterface send(RequestInterface $request, ResponseInterface $response)
26- * @method static PdfRequest createPdf(string $url, string $method = 'GET', int $timeout = 5000, array $headers = [], array $parameters = [])
27- * @method static CaptureRequest createImage(string $url, string $method = 'GET', int $timeout = 5000, array $headers = [], array $parameters = [])
28- * @method static CaptureRequest request(string $url, string $method = 'GET', int $timeout = 5000, array $headers = [], array $parameters = [])
19+ * @method static PhantomJsComponent setBinaryPath($path)
20+ * @method static PhantomJsComponent setDebug($debug)
21+ * @method static PhantomJsComponent setCache($cache)
22+ * @method static Engine getEngine()
23+ * @method static PhantomJsServiceContainer getContainer()
24+ * @method static Client getClient()
25+ * @method static PhantomJsComponent setClient($client = null)
26+ * @method static mixed getOptions()
27+ * @method static PhantomJsComponent setOptions(array $options)
28+ * @method static PhantomJsComponent isLazy()
29+ * @method static CaptureRequest request(string $url, string $method = RequestInterface::METHOD_GET, int $timeout = 5000, array $headers = [], array $parameters = [])
30+ * @method static PdfRequest createPdf(string $url, string $method = RequestInterface::METHOD_GET, int $timeout = 5000, array $headers = [], array $parameters = [])
31+ * @method static CaptureRequest createImage(string $url, string $method = RequestInterface::METHOD_GET, int $timeout = 5000, array $headers = [], array $parameters = [])
2932 * @method static Request get(string $url, array $headers = [], array $parameters = [])
3033 * @method static Request post(string $url, array $headers = [], array $parameters = [])
3134 * @method static Request put(string $url, array $headers = [], array $parameters = [])
3235 * @method static Request delete(string $url, array $headers = [], array $parameters = [])
36+ * @method static ResponseInterface send(RequestInterface $request, ResponseInterface $response = null)
3337 */
3438class PhantomJs extends Facade {
3539
@@ -44,4 +48,4 @@ protected static function getFacadeAccessor()
4448 {
4549 return 'phantomjs ' ;
4650 }
47- }
51+ }
0 commit comments