for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CommerceGuys\AuthNet\Request;
class JsonRequest extends BaseRequest
{
public function getContentType()
return 'application/json';
}
public function getBody()
return json_encode([$this->type => $this->data]);