<?php
namespace Phad\enum;
/*
* Valid types on `<p-data>` nodes. If `type` attribute is null, then the type is auto-determined to be either `data_loader` or `mysql`
*/
enum DataTypes: string {
/* All items have a "default" data node added automatically if a 'default' one is not present */
case DEFAULT = "default";
/* A node that declares a custom `data_loader` handler */
case DATA_LOADER = "data_loader";
/* A node that declares either `sql` attribute or various sql verbs like `where` and `limit` */
case MYSQL = "mysql";
/* A node that returns a `Phad\BlackHole` object, which allows you to print a view with no data in it */
case BLACK_HOLE = "black_hole";
}