CommentTrait
CSS comment trait
Tags
Table of Contents
Properties
- $comments : array<string|int, mixed>
- Comments
Methods
- addComment() : static
- Add CSS comment
- getComments() : array<string|int, mixed>
- Get CSS comments
- hasComments() : bool
- Has CSS comments
Properties
$comments
Comments
protected
array<string|int, mixed>
$comments
= []
Methods
addComment()
Add CSS comment
public
addComment(Comment|string $comment[, int $wrap = 80 ][, bool $trailingNewLine = false ]) : static
Parameters
- $comment : Comment|string
- $wrap : int = 80
- $trailingNewLine : bool = false
Return values
staticgetComments()
Get CSS comments
public
getComments() : array<string|int, mixed>
Return values
array<string|int, mixed>hasComments()
Has CSS comments
public
hasComments() : bool