for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace InShore\Bookwhen;
use InShore\Bookwhen\Client;
use InShore\Bookwhen\Factory;
final class BookwhenApi
{
/**
* Creates a new Bookwhen Client with the given API token.
*/
public static function client(string $apiKey): Client
return self::factory()
->withApiKey($apiKey)
->make();
}
* Creates a new factory instance to configure a custom Bookwhen Client
public static function factory(): Factory
return new Factory();