Skip to content

Commit 48b8e43

Browse files
Merge pull request #11 from Laravel-Lang/1.x
Added `Direction` enum class
2 parents 44aa487 + 53be035 commit 48b8e43

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/Direction.php

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace LaravelLang\LocaleList;
6+
7+
use ArchTech\Enums\From;
8+
use ArchTech\Enums\Names;
9+
use ArchTech\Enums\Options;
10+
use ArchTech\Enums\Values;
11+
12+
enum Direction: string
13+
{
14+
use From;
15+
use Names;
16+
use Options;
17+
use Values;
18+
19+
case LeftToRight = 'ltr';
20+
case RightToLeft = 'rtl';
21+
}

0 commit comments

Comments
 (0)