| 1 |
<?php |
| 2 |
|
| 3 |
declare (strict_types=1); |
| 4 |
namespace WCPOS\Vendor\Sabberworm\CSS\Comment; |
| 5 |
|
| 6 |
/** |
| 7 |
* A standard implementation of this interface is available in the `CommentContainer` trait. |
| 8 |
*/ |
| 9 |
interface Commentable |
| 10 |
{ |
| 11 |
/** |
| 12 |
* @param list<Comment> $comments |
| 13 |
*/ |
| 14 |
public function addComments(array $comments) : void; |
| 15 |
/** |
| 16 |
* @return list<Comment> |
| 17 |
*/ |
| 18 |
public function getComments() : array; |
| 19 |
/** |
| 20 |
* @param list<Comment> $comments |
| 21 |
*/ |
| 22 |
public function setComments(array $comments) : void; |
| 23 |
} |
| 24 |
|