Parse and validate AT Protocol Lexicons with DTO generation for Laravel
1<?php
2
3namespace SocialDept\AtpSchema\Generated\App\Bsky\Notification\Defs;
4
5use SocialDept\AtpSchema\Data\Data;
6
7/**
8 * GENERATED CODE - DO NOT EDIT
9 *
10 * Lexicon: app.bsky.notification.defs.recordDeleted
11 * Type: object
12 */
13class RecordDeleted extends Data
14{
15 /**
16 * Get the lexicon NSID for this data type.
17 *
18 * @return string
19 */
20 public static function getLexicon(): string
21 {
22 return 'app.bsky.notification.defs.recordDeleted';
23 }
24
25
26 /**
27 * Create an instance from an array.
28 *
29 * @param array $data The data array
30 * @return static
31 */
32 public static function fromArray(array $data): static
33 {
34 return new static();
35 }
36
37}