ManualOrder.php
21 lines
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace AC\ColumnRepository\Sort; |
| 6 | |
| 7 | use AC\Preferences\SiteFactory; |
| 8 | use AC\Storage; |
| 9 | use AC\Type\ListScreenId; |
| 10 | |
| 11 | class ManualOrder extends ColumnNames |
| 12 | { |
| 13 | public function __construct(ListScreenId $list_id) |
| 14 | { |
| 15 | $storage = new Storage\Repository\UserColumnOrder(new SiteFactory()); |
| 16 | |
| 17 | parent::__construct($storage->get($list_id)); |
| 18 | } |
| 19 | |
| 20 | } |
| 21 |