Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Commit

Permalink
Merge pull request #8 from xphoenyx/develop
Browse files Browse the repository at this point in the history
Update of phpdoc in facade
  • Loading branch information
mrjosh authored Mar 27, 2019
2 parents 23e6613 + 7478c37 commit 9401025
Showing 1 changed file with 18 additions and 14 deletions.
32 changes: 18 additions & 14 deletions src/Facade/PhantomJs.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

namespace Josh\Component\PhantomJs\Facade;

use JonnyW\PhantomJs\Engine;
use Illuminate\Support\Facades\Facade;
use Josh\Component\PhantomJs\PhantomJs as PhantomJsComponent;
use JonnyW\PhantomJs\Engine;
use JonnyW\PhantomJs\Client;
use JonnyW\PhantomJs\Http\CaptureRequest;
use JonnyW\PhantomJs\Http\PdfRequest;
use JonnyW\PhantomJs\Http\Request;
Expand All @@ -14,22 +16,24 @@
use JonnyW\PhantomJs\Procedure\ProcedureCompilerInterface;

/**
* @method static getLog
* @method static void isLazy
* @method static Engine getEngine
* @method static string getProcedure
* @method static void setProcedure($procedure)
* @method static MessageFactoryInterface getMessageFactory
* @method static ProcedureLoaderInterface getProcedureLoader
* @method static ProcedureCompilerInterface getProcedureCompiler
* @method static ResponseInterface send(RequestInterface $request, ResponseInterface $response)
* @method static PdfRequest createPdf(string $url, string $method = 'GET', int $timeout = 5000, array $headers = [], array $parameters = [])
* @method static CaptureRequest createImage(string $url, string $method = 'GET', int $timeout = 5000, array $headers = [], array $parameters = [])
* @method static CaptureRequest request(string $url, string $method = 'GET', int $timeout = 5000, array $headers = [], array $parameters = [])
* @method static PhantomJsComponent setBinaryPath($path)
* @method static PhantomJsComponent setDebug($debug)
* @method static PhantomJsComponent setCache($cache)
* @method static Engine getEngine()
* @method static PhantomJsServiceContainer getContainer()
* @method static Client getClient()
* @method static PhantomJsComponent setClient($client = null)
* @method static mixed getOptions()
* @method static PhantomJsComponent setOptions(array $options)
* @method static PhantomJsComponent isLazy()
* @method static CaptureRequest request(string $url, string $method = RequestInterface::METHOD_GET, int $timeout = 5000, array $headers = [], array $parameters = [])
* @method static PdfRequest createPdf(string $url, string $method = RequestInterface::METHOD_GET, int $timeout = 5000, array $headers = [], array $parameters = [])
* @method static CaptureRequest createImage(string $url, string $method = RequestInterface::METHOD_GET, int $timeout = 5000, array $headers = [], array $parameters = [])
* @method static Request get(string $url, array $headers = [], array $parameters = [])
* @method static Request post(string $url, array $headers = [], array $parameters = [])
* @method static Request put(string $url, array $headers = [], array $parameters = [])
* @method static Request delete(string $url, array $headers = [], array $parameters = [])
* @method static ResponseInterface send(RequestInterface $request, ResponseInterface $response = null)
*/
class PhantomJs extends Facade {

Expand All @@ -44,4 +48,4 @@ protected static function getFacadeAccessor()
{
return 'phantomjs';
}
}
}

0 comments on commit 9401025

Please sign in to comment.