| 1 | <?php |
||
| 16 | class Application implements FromArrayInterface |
||
| 17 | { |
||
| 18 | /** @var string */ |
||
| 19 | private $title; |
||
| 20 | |||
| 21 | /** @var string */ |
||
| 22 | private $appId; |
||
| 23 | |||
| 24 | /** @var string */ |
||
| 25 | private $appSecret; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param string $title |
||
| 29 | * @param string $appId |
||
| 30 | * @param string $appSecret |
||
| 31 | */ |
||
| 32 | public function __construct( |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | public function getTitle() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @param string $title |
||
| 53 | * |
||
| 54 | * @return $this |
||
| 55 | */ |
||
| 56 | public function setTitle(string $title) |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @return string |
||
| 65 | */ |
||
| 66 | public function getAppId() |
||
| 70 | |||
| 71 | /** |
||
| 72 | * @param string $appId |
||
| 73 | * |
||
| 74 | * @return $this |
||
| 75 | */ |
||
| 76 | public function setAppId(string $appId) |
||
| 82 | |||
| 83 | /** |
||
| 84 | * @return string |
||
| 85 | */ |
||
| 86 | public function getAppSecret() |
||
| 90 | |||
| 91 | /** |
||
| 92 | * @param string $appSecret |
||
| 93 | * |
||
| 94 | * @return $this |
||
| 95 | */ |
||
| 96 | public function setAppSecret(string $appSecret) |
||
| 102 | |||
| 103 | /** |
||
| 104 | * {@inheritdoc} |
||
| 105 | */ |
||
| 106 | public static function fromArray(array $data) |
||
| 114 | } |
||
| 115 |