public static function getInstance() { if (self::$objInstance == null) { self::$objInstance = new RepoLote(); } return self::$objInstance; }
public function excluir($arrStrDados) { $obj = new Lote(); $obj->setId($arrStrDados["LOT_ID"]); return RepoLote::getInstance()->excluir($obj); }