| 1 | <?php |
||
| 7 | class AccountLink extends AbstractButton |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | protected $url; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * AccountLink constructor. |
||
| 16 | * |
||
| 17 | * @throws \Kerox\Messenger\Exception\MessengerException |
||
| 18 | */ |
||
| 19 | 1 | public function __construct(string $url) |
|
| 27 | |||
| 28 | /** |
||
| 29 | * @throws \Kerox\Messenger\Exception\MessengerException |
||
| 30 | * |
||
| 31 | * @return \Kerox\Messenger\Model\Common\Button\AccountLink |
||
| 32 | */ |
||
| 33 | 1 | public static function create(string $url): self |
|
| 37 | |||
| 38 | 1 | public function toArray(): array |
|
| 47 | } |
||
| 48 |