Skip to content

Commit 30b4a98

Browse files
committed
Add parse documentation
1 parent 4eb5cc5 commit 30b4a98

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Builder.php

+6
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,12 @@ public function proxy($proxy = null, $noproxy = null)
150150
return $this;
151151
}
152152

153+
/**
154+
* Parse Arrayable class as JSON data source
155+
*
156+
* @param Arrayable $arrayable Class to parse
157+
* @return $this
158+
*/
153159
public function parse(Arrayable $arrayable)
154160
{
155161
$this->applyRequestOptions(['json' => $arrayable->toArray()]);

0 commit comments

Comments
 (0)