| 1 | <?php |
||
| 7 | abstract class EFD |
||
| 8 | { |
||
| 9 | protected $possibles = []; |
||
| 10 | |||
| 11 | public function __construct() |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Add |
||
| 18 | * @param BlockInterface $block |
||
| 19 | */ |
||
| 20 | public function add(BlockInterface $block = null) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Create a EFD string |
||
| 33 | */ |
||
| 34 | public function get() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Totals blocks contents |
||
| 49 | * @param string $efd |
||
| 50 | * @return string |
||
| 51 | */ |
||
| 52 | protected function totalize($efd) |
||
| 88 | } |
||
| 89 |