for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Zenstruck\Browser\Tests\Fixture;
use Zenstruck\Browser\HttpOptions;
/**
* @author Kevin Bond <[email protected]>
*/
final class CustomHttpOptions extends HttpOptions
{
public static function api(string $token, $json = null): self
return static::json($json)->withHeader('X-Token', $token);
}