wp-user-avatar
/
third-party
/
vendor
/
sabberworm
/
php-css-parser
/
src
/
Comment
/
Commentable.php
wp-user-avatar
/
third-party
/
vendor
/
sabberworm
/
php-css-parser
/
src
/
Comment
Last commit date
Comment.php
5 days ago
CommentContainer.php
5 days ago
Commentable.php
5 days ago
Commentable.php
24 lines
| 1 | <?php |
| 2 | |
| 3 | declare (strict_types=1); |
| 4 | namespace ProfilePressVendor\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 |