| @@ 53-65 (lines=13) @@ | ||
| 50 | * @param XlsSheetWrapper $sheetWrapper |
|
| 51 | * @param XlsHeaderFooterWrapper $headerFooterWrapper |
|
| 52 | */ |
|
| 53 | public function __construct(array $context, \Twig_Environment $environment, XlsSheetWrapper $sheetWrapper, XlsHeaderFooterWrapper $headerFooterWrapper) |
|
| 54 | { |
|
| 55 | $this->context = $context; |
|
| 56 | $this->environment = $environment; |
|
| 57 | $this->sheetWrapper = $sheetWrapper; |
|
| 58 | $this->headerFooterWrapper = $headerFooterWrapper; |
|
| 59 | ||
| 60 | $this->object = null; |
|
| 61 | $this->attributes = []; |
|
| 62 | $this->mappings = []; |
|
| 63 | ||
| 64 | $this->initializeMappings(); |
|
| 65 | } |
|
| 66 | ||
| 67 | protected function initializeMappings() |
|
| 68 | { |
|
| @@ 52-65 (lines=14) @@ | ||
| 49 | * @param \Twig_Environment $environment |
|
| 50 | * @param XlsSheetWrapper $sheetWrapper |
|
| 51 | */ |
|
| 52 | public function __construct(array $context, \Twig_Environment $environment, XlsSheetWrapper $sheetWrapper) |
|
| 53 | { |
|
| 54 | $this->context = $context; |
|
| 55 | $this->environment = $environment; |
|
| 56 | $this->sheetWrapper = $sheetWrapper; |
|
| 57 | ||
| 58 | $this->alignmentAttributes = []; |
|
| 59 | ||
| 60 | $this->object = null; |
|
| 61 | $this->attributes = []; |
|
| 62 | $this->mappings = []; |
|
| 63 | ||
| 64 | $this->initializeMappings(); |
|
| 65 | } |
|
| 66 | ||
| 67 | protected function initializeMappings() |
|
| 68 | { |
|
| @@ 64-78 (lines=15) @@ | ||
| 61 | * @param \Twig_Environment $environment |
|
| 62 | * @param XlsDocumentWrapper $documentWrapper |
|
| 63 | */ |
|
| 64 | public function __construct(array $context, \Twig_Environment $environment, XlsDocumentWrapper $documentWrapper) |
|
| 65 | { |
|
| 66 | $this->context = $context; |
|
| 67 | $this->environment = $environment; |
|
| 68 | $this->documentWrapper = $documentWrapper; |
|
| 69 | ||
| 70 | $this->row = null; |
|
| 71 | $this->column = null; |
|
| 72 | ||
| 73 | $this->object = null; |
|
| 74 | $this->attributes = []; |
|
| 75 | $this->mappings = []; |
|
| 76 | ||
| 77 | $this->initializeMappings(); |
|
| 78 | } |
|
| 79 | ||
| 80 | protected function initializeMappings() |
|
| 81 | { |
|