2024-10-30 09:49:16 +01:00
|
|
|
<?php
|
|
|
|
|
namespace adrienpayet\comments;
|
|
|
|
|
|
|
|
|
|
class Reply extends BaseComment {
|
|
|
|
|
|
2024-12-18 18:22:41 +01:00
|
|
|
protected string $type = "comment-reply";
|
2024-10-30 09:49:16 +01:00
|
|
|
|
|
|
|
|
public function __construct($data) {
|
|
|
|
|
parent::__construct($data);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function toArray() {
|
|
|
|
|
$array = parent::toArray();
|
2024-12-18 18:22:41 +01:00
|
|
|
$array['type'] = $this->type;
|
2024-10-30 09:49:16 +01:00
|
|
|
|
|
|
|
|
return $array;
|
|
|
|
|
}
|
|
|
|
|
}
|