Skip to content

Commit

Permalink
Add parse documentation to other classes
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan770 committed Oct 20, 2019
1 parent 30b4a98 commit bfbe0c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/HttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Ivan770\HttpClient;

use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Support\Traits\Macroable;
use Ivan770\HttpClient\Response\Response;
use Ivan770\HttpClient\Traits\InteractsWithEloquent;
Expand All @@ -19,6 +20,7 @@
* @method HttpClient query(array $query) Add query string values to request
* @method HttpClient withoutRedirects() Ignore all redirects for this request
* @method HttpClient proxy(string $proxy, string $noproxy) Change proxy for this request
* @method HttpClient parse(Arrayable $arrayable) Parse Arrayable class as JSON data source
* @method Response get(string $url, array $arguments = []) Send a GET request
* @method Response head(string $url, array $arguments = []) Send a HEAD request
* @method Response post(string $url, array $arguments = []) Send a POST request
Expand Down
3 changes: 2 additions & 1 deletion src/Request/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

namespace Ivan770\HttpClient\Request;

use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Support\Collection;
use Ivan770\HttpClient\Contracts\PassToBrowserKit;
use Ivan770\HttpClient\Contracts\Request as RequestContract;
use Ivan770\HttpClient\HttpClient;
use Ivan770\HttpClient\Response\Response;
use Symfony\Component\BrowserKit\CookieJar;
use Symfony\Component\BrowserKit\History;
use Symfony\Component\DomCrawler\Crawler;
Expand All @@ -22,6 +22,7 @@
* @method RequestContract query(array $query) Add query string values to request
* @method RequestContract withoutRedirects() Ignore all redirects for this request
* @method RequestContract proxy(string $proxy, string $noproxy) Change proxy for this request
* @method RequestContract parse(Arrayable $arrayable) Parse Arrayable class as JSON data source
*
* @see Builder
*/
Expand Down

0 comments on commit bfbe0c5

Please sign in to comment.