Created
July 24, 2013 13:46
-
-
Save viniciusss/6070721 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Forma antiga | |
$validarQtde = $this->validarQtdeProdutoPedido($request['f_int_qtty']); | |
if("acerto" != $validarQtde['classe']) { | |
throw new Exception($validarQtde['erro']); | |
} | |
// --------------- | |
// Nova forma | |
MS_Util::execToExc($this->validarQtdeProdutoPedido($request['f_int_qtty'])); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment