Description
We want to add ApiProperty to Eloquent models. To do so (inspired by #4197) we will add a protected $apiProperties on an Eloquent Model:
class Book extends Model {
protected $apiProperties = ['name' => new ApiProperty(...)];
}
These need to be read by the Laravel specific PropertyMetadataFactories.
#5882
Description
We want to add
ApiPropertyto Eloquent models. To do so (inspired by #4197) we will add aprotected $apiPropertieson an Eloquent Model:These need to be read by the Laravel specific
PropertyMetadataFactories.#5882