📂 FileMgr
📍
/home/rsukartini.com/rs/vendor/sabberworm/php-css-parser/src/Comment
✏️ Edit File: /home/rsukartini.com/rs/vendor/sabberworm/php-css-parser/src/Comment/Comment.php
⬅ Kembali
<?php namespace Sabberworm\CSS\Comment; use Sabberworm\CSS\OutputFormat; use Sabberworm\CSS\Renderable; class Comment implements Renderable { /** * @var int * * @internal since 8.8.0 */ protected $iLineNo; /** * @var string * * @internal since 8.8.0 */ protected $sComment; /** * @param string $sComment * @param int $iLineNo */ public function __construct($sComment = '', $iLineNo = 0) { $this->sComment = $sComment; $this->iLineNo = $iLineNo; } /** * @return string */ public function getComment() { return $this->sComment; } /** * @return int */ public function getLineNo() { return $this->iLineNo; } /** * @param string $sComment * * @return void */ public function setComment($sComment) { $this->sComment = $sComment; } /** * @return string * * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead. */ public function __toString() { return $this->render(new OutputFormat()); } /** * @param OutputFormat|null $oOutputFormat * * @return string */ public function render($oOutputFormat) { return '/*' . $this->sComment . '*/'; } }
💾 Simpan File
Batal
⬅ Naik ke src
2 item
Nama
Tipe
Ukuran
Diubah
Aksi
🐘
Comment.php
php
1.3 KB
2025-03-23 17:59
✏️ Edit
👁️ View
🗑 Hapus
🐘
Commentable.php
php
452 B
2025-03-23 17:59
✏️ Edit
👁️ View
🗑 Hapus