for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Gemz\HttpClient;
use Gemz\HttpClient\Contracts\Options;
class Config
{
use Options;
/**
* @return Config
*/
public static function make()
return new self();
}
* Config constructor
public function __construct()
$this->setDefaults();
* @return $this
protected function setDefaults(): self
$this->asJson();
return $this;
* Config as array
*
* @return array<mixed>
public function toArray(): array
return $this->options;