2
2
3
3
namespace Josh \Component \PhantomJs \Facade ;
4
4
5
- use JonnyW \PhantomJs \Engine ;
6
5
use Illuminate \Support \Facades \Facade ;
6
+ use Josh \Component \PhantomJs \PhantomJs as PhantomJsComponent ;
7
+ use JonnyW \PhantomJs \Engine ;
8
+ use JonnyW \PhantomJs \Client ;
7
9
use JonnyW \PhantomJs \Http \CaptureRequest ;
8
10
use JonnyW \PhantomJs \Http \PdfRequest ;
9
11
use JonnyW \PhantomJs \Http \Request ;
14
16
use JonnyW \PhantomJs \Procedure \ProcedureCompilerInterface ;
15
17
16
18
/**
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 = [])
29
32
* @method static Request get(string $url, array $headers = [], array $parameters = [])
30
33
* @method static Request post(string $url, array $headers = [], array $parameters = [])
31
34
* @method static Request put(string $url, array $headers = [], array $parameters = [])
32
35
* @method static Request delete(string $url, array $headers = [], array $parameters = [])
36
+ * @method static ResponseInterface send(RequestInterface $request, ResponseInterface $response = null)
33
37
*/
34
38
class PhantomJs extends Facade {
35
39
@@ -44,4 +48,4 @@ protected static function getFacadeAccessor()
44
48
{
45
49
return 'phantomjs ' ;
46
50
}
47
- }
51
+ }
0 commit comments