| Total Complexity | 3 |
| Total Lines | 58 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class Token extends Model |
||
| 14 | { |
||
| 15 | // Properties |
||
| 16 | // ========================================================================= |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var int|null ID |
||
| 20 | */ |
||
| 21 | public $id; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var string|null Gateway |
||
| 25 | */ |
||
| 26 | public $gateway; |
||
| 27 | |||
| 28 | |||
| 29 | /** |
||
| 30 | * @var string|null Access token |
||
| 31 | */ |
||
| 32 | public $accessToken; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @var \DateTime|null Date updated |
||
| 36 | */ |
||
| 37 | public $dateUpdated; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @var \DateTime|null Date created |
||
| 41 | */ |
||
| 42 | public $dateCreated; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @var string|null Uid |
||
| 46 | */ |
||
| 47 | public $uid; |
||
| 48 | |||
| 49 | // Public Methods |
||
| 50 | // ========================================================================= |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @inheritdoc |
||
| 54 | */ |
||
| 55 | public function init(): void |
||
| 61 | } |
||
| 62 | } |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @inheritdoc |
||
| 66 | */ |
||
| 67 | public function rules(): array |
||
| 74 |