/**
  * Initializes DB mappers
  *
  * @param object $config
  * @param object $args
  * @return
  */
 function __construct($config, $args)
 {
     $this->config = $config;
     $this->args = $args;
     $this->itemManager = ItemManager::getInstance($this->config, $this->args);
     $this->pcComponentValidatorManager = PcComponentValidatorManager::getInstance($this->config, $this->args);
 }
 /**
  * Returns an singleton instance of this class
  *
  * @param object $config
  * @param object $args
  * @return
  */
 public static function getInstance($config, $args)
 {
     if (self::$instance == null) {
         self::$instance = new PcComponentValidatorManager($config, $args);
     }
     return self::$instance;
 }