19 lines
313 B
PHP
19 lines
313 B
PHP
<?php
|
|
|
|
namespace App\DTOs\Auth;
|
|
|
|
class GoogleDTO extends AuthDTO
|
|
{
|
|
|
|
public $access_code = null;
|
|
public function __construct(array $datas = [])
|
|
{
|
|
parent::__construct();
|
|
foreach ($datas as $key => $value) {
|
|
if (property_exists($this, $key)) {
|
|
$this->{$key} = $value;
|
|
}
|
|
}
|
|
}
|
|
}
|