@@ 24-39 (lines=16) @@ | ||
21 | /** |
|
22 | * @package Limoncello\Passport |
|
23 | */ |
|
24 | class Token extends \Limoncello\Passport\Entities\Token |
|
25 | { |
|
26 | use ArrayParserTrait, DbDateFormatTrait; |
|
27 | ||
28 | /** |
|
29 | * Constructor. |
|
30 | */ |
|
31 | public function __construct() |
|
32 | { |
|
33 | parent::__construct(); |
|
34 | ||
35 | if ($this->hasDynamicProperty(static::FIELD_ID) === true) { |
|
36 | $this->setScopeIdentifiers($this->parseArray($this->{static::FIELD_SCOPES})); |
|
37 | } |
|
38 | } |
|
39 | } |
|
40 |
@@ 24-39 (lines=16) @@ | ||
21 | /** |
|
22 | * @package Limoncello\Passport |
|
23 | */ |
|
24 | class Token extends \Limoncello\Passport\Entities\Token |
|
25 | { |
|
26 | use ArrayParserTrait, DbDateFormatTrait; |
|
27 | ||
28 | /** |
|
29 | * Constructor. |
|
30 | */ |
|
31 | public function __construct() |
|
32 | { |
|
33 | parent::__construct(); |
|
34 | ||
35 | if ($this->hasDynamicProperty(static::FIELD_ID) === true) { |
|
36 | $this->setScopeIdentifiers($this->parseArray($this->{static::FIELD_SCOPES})); |
|
37 | } |
|
38 | } |
|
39 | } |
|
40 |