'Laman', self::POST => 'Pos', }; } public function value(): string { return match ($this) { self::PAGE => 'page', self::POST => 'post', }; } }