koel/tests/Unit/Stubs/ConcreteApiClient.php

24 lines
360 B
PHP
Raw Normal View History

<?php
namespace Tests\Unit\Stubs;
2022-08-08 16:00:59 +00:00
use App\Services\ApiClients\ApiClient;
2022-07-29 06:47:10 +00:00
class ConcreteApiClient extends ApiClient
{
2018-08-24 15:27:19 +00:00
public function getKey(): string
{
return 'bar';
}
2018-08-24 15:27:19 +00:00
public function getSecret(): string
{
2018-08-24 15:27:19 +00:00
return 'secret';
}
2018-08-24 15:27:19 +00:00
public function getEndpoint(): string
{
2022-08-08 16:00:59 +00:00
return 'https://foo.com';
}
}