| 1 | <?php |
||
| 18 | class Application implements FromArrayInterface |
||
| 19 | { |
||
| 20 | /** @var string */ |
||
| 21 | private $title; |
||
| 22 | |||
| 23 | /** @var string */ |
||
| 24 | private $appId; |
||
| 25 | |||
| 26 | /** @var string */ |
||
| 27 | private $appSecret; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param string $title |
||
| 31 | * @param string $appId |
||
| 32 | * @param string $appSecret |
||
| 33 | */ |
||
| 34 | public function __construct( |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | public function getTitle() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @param string $title |
||
| 55 | * |
||
| 56 | * @return $this |
||
| 57 | */ |
||
| 58 | public function setTitle(string $title) |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @return string |
||
| 67 | */ |
||
| 68 | public function getAppId() |
||
| 72 | |||
| 73 | /** |
||
| 74 | * @param string $appId |
||
| 75 | * |
||
| 76 | * @return $this |
||
| 77 | */ |
||
| 78 | public function setAppId(string $appId) |
||
| 84 | |||
| 85 | /** |
||
| 86 | * @return string |
||
| 87 | */ |
||
| 88 | public function getAppSecret() |
||
| 92 | |||
| 93 | /** |
||
| 94 | * @param string $appSecret |
||
| 95 | * |
||
| 96 | * @return $this |
||
| 97 | */ |
||
| 98 | public function setAppSecret(string $appSecret) |
||
| 104 | |||
| 105 | /** |
||
| 106 | * {@inheritdoc} |
||
| 107 | */ |
||
| 108 | public static function fromArray(array $data) |
||
| 116 | } |
||
| 117 |