public static function table($name) { $validate = new Validate(); $validate->name = $name; return $validate; }
public function testDBStructure() { $tables = array("article", "word", "article_word", "language", "translate"); foreach ($tables as $table) { LaserValidate::table($table)->exists(); } }