You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Midgard3 should be built with modern PHP in mind, and with the idea of being as close to regular Midgard API as possible. Midgard's GIR and Python APIs are already namespaces-based, and so PHP should be too.
Instead of:
$qb = new midgard_query_builder('midgard_article');
$article = new midgard_article();
We should have:
$qb = new Midgard\QueryBuilder('midgard_article');
$article = new Midgard\MgdSchema\midgard_article();
The text was updated successfully, but these errors were encountered:
Midgard3 should be built with modern PHP in mind, and with the idea of being as close to regular Midgard API as possible. Midgard's GIR and Python APIs are already namespaces-based, and so PHP should be too.
Instead of:
We should have:
The text was updated successfully, but these errors were encountered: