| 1 | <?php |
||
| 12 | class Header { |
||
| 13 | |||
| 14 | /** @var string */ |
||
| 15 | public $name; |
||
| 16 | |||
| 17 | /** @var string */ |
||
| 18 | private $_attributeName; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Header constructor. |
||
| 22 | */ |
||
| 23 | 28 | public function __construct(Column $column) |
|
| 34 | |||
| 35 | /** |
||
| 36 | * Get the original attribute name. |
||
| 37 | * |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | 9 | public function getAttributeName(): string |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @param array $headerFormatters |
||
| 47 | * @param Request $request |
||
| 48 | */ |
||
| 49 | 27 | public function formatArray(array $headerFormatters, Request $request) |
|
| 56 | |||
| 57 | /** |
||
| 58 | * @param HeaderFormatter $headerFormatter |
||
| 59 | * @param Request $request |
||
| 60 | */ |
||
| 61 | 8 | public function format(HeaderFormatter $headerFormatter, Request $request) |
|
| 65 | } |