Replace INBCM with TMDC or dwc

This commit is contained in:
Steve Dogiakos 2022-03-19 14:25:14 -06:00
parent a4d8bc0160
commit fc7dce7f97
8 changed files with 16 additions and 16 deletions

View File

@ -1,7 +1,7 @@
{
"autoload": {
"psr-4": {
"INBCM\\Preset\\Tainacan\\": "src/"
"dwc\\Preset\\Tainacan\\": "src/"
}
}
}

View File

@ -5,7 +5,7 @@ require_once __DIR__.'/app/config.php';
require_once __DIR__.'/vendor/autoload.php';
use \INBCM\Preset\Tainacan\Classes\Controller;
use \dwc\Preset\Tainacan\Classes\Controller;
echo "start main process!";
$preset = new Controller\Preset();

View File

@ -1,6 +1,6 @@
<?php
namespace INBCM\Preset\Tainacan\Classes\Controller;
namespace DWC\Preset\Tainacan\Classes\Controller;
class Preset {

View File

@ -1,6 +1,6 @@
<?php
namespace INBCM\Preset\Tainacan\Classes\Entities;
namespace DWC\Preset\Tainacan\Classes\Entities;
defined( 'ABSPATH' ) or die( 'No script kiddies please!' );

View File

@ -1,6 +1,6 @@
<?php
namespace INBCM\Preset\Tainacan\Classes\Entities;
namespace DWC\Preset\Tainacan\Classes\Entities;
defined( 'ABSPATH' ) or die( 'No script kiddies please!' );

View File

@ -1,5 +1,5 @@
<?php
//brasillian states, brasilion cities, get the city metadata file cidades.json and then estados.json
add_action( 'init', function() {
global $cidades_brasileiras, $estados_brasileiros;
$cidades = file_get_contents( plugin_dir_url(__FILE__) . 'metadata_type/cidades.json' );

View File

@ -21,8 +21,8 @@ class TainacanINBCMBootstrapt {
}
function registerExposerMapper($exposers) {
$exposers->register_mapper('INBCM\Preset\Tainacan\Classes\Mapper\MapperDWC');
$exposers->register_mapper('dwc\Preset\Tainacan\Classes\Mapper\MapperDWC');
}
}
$tainacanMapperBootstrapt = new \INBCM\Preset\Tainacan\TainacanDWCBootstrapt();
$tainacanMapperBootstrapt = new \dwc\Preset\Tainacan\TainacanDWCBootstrapt();