mini\Database\ModelInfo final class

Documentation

Parsed model metadata: table name and primary key

Created by the model() function and cached per class. Replaces the internal attribute parsing that was in Model::tableName()/primaryKey().

Properties (2)

public readonly string $tableName
public readonly string $primaryKey

Methods (2)

Documentation missing

Documentation missing

Source

src/Database/ModelInfo.php:14-43