1 | <?php |
||
21 | class Convert |
||
22 | { |
||
23 | protected $limparString = true; |
||
24 | |||
25 | /** |
||
26 | * contruct |
||
27 | * Método contrutor da classe |
||
28 | * |
||
29 | * @param boolean $limparString Ativa flag para limpar os caracteres especiais e acentos |
||
30 | * @return none |
||
|
|||
31 | */ |
||
32 | public function __construct($limparString = true) |
||
36 | |||
37 | /** |
||
38 | * txt2xml |
||
39 | * Converte uma ou multiplos CTe em formato txt em xml |
||
40 | * |
||
41 | * @param mixed $txt Path para txt, txt ou array de txt |
||
42 | * @return array |
||
43 | */ |
||
44 | public function txt2xml($txt) |
||
47 | } |
||
48 |
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.