1 | <?php |
||
8 | abstract class Block |
||
9 | { |
||
10 | public $elements = []; |
||
11 | protected $bloco = ''; |
||
12 | protected $elementTotal; |
||
13 | |||
14 | public function __construct($total) |
||
18 | |||
19 | /** |
||
20 | * Call classes to build each EFD element |
||
21 | * @param string $name |
||
22 | * @param array $arguments [std] |
||
23 | * @return void |
||
24 | * @throws \Exception |
||
25 | */ |
||
26 | public function __call($name, $arguments) |
||
52 | |||
53 | /** |
||
54 | * Totalizes the elements of the block and returns the complete block |
||
55 | * in a string adding element 0990 |
||
56 | * @return string |
||
57 | */ |
||
58 | public function get() |
||
65 | } |
||
66 |