Comment
in package
Pop CSS comment class
Tags
Table of Contents
- $comment : string
- Comment string
- __construct() : mixed
- Constructor
- __toString() : string
- To string method
- getComment() : string
- Get comment
- render() : string
- Method to render the selector CSS
- setComment() : self
- Set comment
Properties
$comment
Comment string
protected
string
$comment
= null
Methods
__construct()
Constructor
public
__construct(string $comment) : mixed
Instantiate the CSS comment object
Parameters
- $comment : string
Return values
mixed —__toString()
To string method
public
__toString() : string
Return values
string —getComment()
Get comment
public
getComment() : string
Return values
string —render()
Method to render the selector CSS
public
render() : string
Return values
string —setComment()
Set comment
public
setComment(string $comment) : self
Parameters
- $comment : string