mini\Database\Attributes\Table class

Documentation

Maps entity class to database table

Inspired by Entity Framework Core's [Table] attribute.

Example:

#[Table(name: 'users')]
class User {
    // ...
}

Properties (1)

public ?string $name

Methods (1)

Documentation missing

Source

src/Database/Attributes/Table.php:19-28