\Pop\CssComment

Pop CSS comment class

Summary

Methods
Properties
Constants
__construct()
setComment()
getComment()
render()
__toString()
No public properties found
No constants found
No protected methods found
$comment
N/A
No private methods found
No private properties found
N/A

Properties

$comment

$comment : string

Comment string

Type

string

Methods

__construct()

__construct(string  $comment) 

Constructor

Instantiate the CSS comment object

Parameters

string $comment

setComment()

setComment(string  $comment) : self

Set comment

Parameters

string $comment

Returns

self

getComment()

getComment() : string

Get comment

Returns

string

render()

render() : string

Method to render the selector CSS

Returns

string

__toString()

__toString() : string

To string method

Returns

string