Mini Kabibi Habibi

Current Path : C:/xampp/htdocs/cid/system/dompdf/vendor/dompdf/dompdf/src/Css/Content/
Upload File :
Current File : C:/xampp/htdocs/cid/system/dompdf/vendor/dompdf/dompdf/src/Css/Content/Counters.php

<?php
namespace Dompdf\Css\Content;

final class Counters extends ContentPart
{
    /**
     * @var string
     */
    public $name;

    /**
     * @var string
     */
    public $string;

    /**
     * @var string
     */
    public $style;

    public function __construct(string $name, string $string, string $style)
    {
        $this->name = $name;
        $this->string = $string;
        $this->style = $style;
    }

    public function equals(ContentPart $other): bool
    {
        return $other instanceof self
            && $other->name === $this->name
            && $other->string === $this->string
            && $other->style === $this->style;
    }

    public function __toString(): string
    {
        return "counters($this->name, \"$this->string\", $this->style)";
    }
}