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