Add concern
This commit is contained in:
parent
4383630210
commit
30f8a301c2
|
@ -8,8 +8,9 @@ use Illuminate\Support\Str;
|
|||
use App\Nami\Exceptions\TooManyLoginAttemptsException;
|
||||
use Illuminate\Support\Facades\Http;
|
||||
use Illuminate\Support\Collection;
|
||||
use Zoomyboy\LaravelNami\Concerns\NamiData;
|
||||
|
||||
class Api {
|
||||
class Api implements NamiData {
|
||||
|
||||
public $cookie;
|
||||
public $loggedIn = null;
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
namespace Zoomyboy\LaravelNami\Concerns;
|
||||
|
||||
use Illuminate\Support\Collection;
|
||||
|
||||
interface NamiData {
|
||||
|
||||
public function nationalities(): Collection;
|
||||
|
||||
}
|
Loading…
Reference in New Issue