| 1 | <?php |
||
| 9 | class AbstractAction |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var UnitBagInterface|UnitInterface[] |
||
| 13 | */ |
||
| 14 | protected $bag; |
||
| 15 | /** |
||
| 16 | * @var ConfigInterface |
||
| 17 | */ |
||
| 18 | protected $config; |
||
| 19 | /** |
||
| 20 | * @var \DateTime |
||
| 21 | */ |
||
| 22 | protected $date; |
||
| 23 | |||
| 24 | |||
| 25 | /** |
||
| 26 | * @param UnitBagInterface $bag |
||
| 27 | * @param ConfigInterface $config |
||
| 28 | */ |
||
| 29 | 48 | public function __construct( |
|
| 37 | |||
| 38 | /** |
||
| 39 | * @param UnitInterface $unit |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | 16 | public function getTmpFileName(UnitInterface $unit) |
|
| 52 | |||
| 53 | /** |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | 16 | protected function getDate() |
|
| 60 | |||
| 61 | /** |
||
| 62 | * @return int |
||
| 63 | */ |
||
| 64 | 9 | protected function getStamp() |
|
| 68 | |||
| 69 | /** |
||
| 70 | * @param UnitInterface $unit |
||
| 71 | * @return string |
||
| 72 | */ |
||
| 73 | 9 | public function getTmpTableName(UnitInterface $unit) |
|
| 81 | } |
||
| 82 |