2018-08-19 11:08:16 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Tests\Unit\Stubs;
|
|
|
|
|
2019-04-07 21:09:25 +00:00
|
|
|
use App\Services\AbstractApiClient;
|
2018-08-19 11:08:16 +00:00
|
|
|
|
2019-04-07 21:09:25 +00:00
|
|
|
class ConcreteApiClient extends AbstractApiClient
|
2018-08-19 11:08:16 +00:00
|
|
|
{
|
2018-08-24 15:27:19 +00:00
|
|
|
public function getKey(): string
|
2018-08-19 11:08:16 +00:00
|
|
|
{
|
|
|
|
return 'bar';
|
|
|
|
}
|
|
|
|
|
2018-08-24 15:27:19 +00:00
|
|
|
public function getSecret(): string
|
2018-08-19 11:08:16 +00:00
|
|
|
{
|
2018-08-24 15:27:19 +00:00
|
|
|
return 'secret';
|
2018-08-19 11:08:16 +00:00
|
|
|
}
|
|
|
|
|
2018-08-24 15:27:19 +00:00
|
|
|
public function getEndpoint(): string
|
2018-08-19 11:08:16 +00:00
|
|
|
{
|
|
|
|
return 'http://foo.com';
|
|
|
|
}
|
|
|
|
}
|