Link Search Menu Expand Document


Back to index

Author: Daniil Gentili

Include this trait and call DbPropertiesTrait::initDb to use MadelineProto’s database backend for properties.

You will have to define a $dbProperties static array property, with a list of properties you want to store to a database.


  • $dbProperties: array<string,\TOrmConfig> — Generated by danog/phpdoc