Debian Codegraph @

vendor/sabberworm/php-css-parser/src/Comment/Commentable.php

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