*/ declare(strict_types=1); namespace oat\taoDeliveryRdf\model\Delivery\Business\Domain; final class DeliveryNamespace { /** @var string */ private $value; public function __construct(string $value) { $this->value = rtrim($value, '#'); } public function equals(self $deliveryNamespace): bool { return (string)$this === (string)$deliveryNamespace; } public function __toString(): string { return $this->value; } }