19declare(strict_types=1);
54 $this->name = str_replace(
"\n",
'',
$name);
77 return '//== ' . $this->
getName() .
"\n//\n//##\n";
Capsules data of a less category in the variables to less file.
setComment(string $comment)
string $name
Name of the category.
string $comment
Comment to describe what this category is about.
__construct(string $name, string $comment='')
__toString()
This function will be needed to write the category back to the less file and restore it's initial str...
Abstracts content of a less file.