We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 6 |
| Total Lines | 63 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class Token extends \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected $token; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | protected $options; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | protected $ident; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function getToken(): string |
||
| 36 | { |
||
| 37 | return $this->token; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param string $token |
||
| 42 | */ |
||
| 43 | public function setToken(string $token): void |
||
| 44 | { |
||
| 45 | $this->token = $token; |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return \Kitodo\Dlf\Common\DocumentList |
||
| 50 | */ |
||
| 51 | public function getOptions(): \Kitodo\Dlf\Common\DocumentList |
||
| 54 | } |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @param \Kitodo\Dlf\Common\DocumentList $options |
||
| 58 | */ |
||
| 59 | public function setOptions(\Kitodo\Dlf\Common\DocumentList $options): void |
||
| 60 | { |
||
| 61 | $this->options = serialize($options); |
||
| 62 | } |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @return string |
||
| 66 | */ |
||
| 67 | public function getIdent(): string |
||
| 68 | { |
||
| 69 | return $this->ident; |
||
| 70 | } |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @param string $ident |
||
| 74 | */ |
||
| 75 | public function setIdent(string $ident): void |
||
| 78 | } |
||
| 79 | |||
| 80 | } |
||
| 81 |