public function tables() {
		$table = new \cli\Table();
		$rows  = Model::$list;
		if ( ! $rows ) {
			\WP_CLI::error( 'No model is regsitered.' );
		}
		$table->setHeaders( [ 'Table Name', 'Model Class' ] );
		foreach ( $rows as $table_name => $class) {
			$table->addRow( [ $table_name, $class ] );
		}
		$table->display();
	}
public function tables() {
		$table = new \cli\Table();
		$rows  = Model::$list;
		if ( ! $rows ) {
			\WP_CLI::error( 'No model is regsitered.' );
		}
		$table->setHeaders( [ 'Table Name', 'Model Class' ] );
		foreach ( $rows as $table_name => $class) {
			$table->addRow( [ $table_name, $class ] );
		}
		$table->display();
	}
public function tables ( ) { $ table = new \ cli \ Table ( ) ; $ rows = Model :: $ list ; if ( ! $ rows ) { \ WP_CLI :: error ( 'No model is regsitered.' ) ; } $ table -> setHeaders ( [ 'Table Name' , 'Model Class' ] ) ; foreach ( $ rows as $ table_name => $ class ) { $ table -> addRow ( [ $ table_name , $ class ] ) ; } $ table -> display ( ) ; }
Get list of tables which generated by Hametuha\Pattern\Model
Get list of tables which generated by Hametuha \ Pattern \ Model