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/Attr.php

<?php
namespace Dompdf\Css\Content;

final class Attr extends ContentPart
{
    /**
     * @var string
     */
    public $attribute;

    public function __construct(string $attribute)
    {
        $this->attribute = $attribute;
    }

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

    public function __toString(): string
    {
        return "attr($this->attribute)";
    }
}