<?php
declare(strict_types=1);
namespace PpPhp\Packages\Ui\Ppui\Foundation\Definitions;
final class TokenDefinition extends AbstractDefinition
{
    public function type(): string { return (string)($this->metadata['type'] ?? 'generic'); }
    public function value(): mixed { return $this->metadata['value'] ?? null; }
}
