1 | <?php |
||
16 | class Direction extends HelperAbstract |
||
17 | { |
||
18 | /** |
||
19 | * default direction |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | |||
24 | protected $_direction = 'ltr'; |
||
25 | |||
26 | /** |
||
27 | * array of the directions |
||
28 | * |
||
29 | * @var array |
||
30 | */ |
||
31 | |||
32 | protected $_directionArray = |
||
33 | [ |
||
34 | 'rtl' => |
||
35 | [ |
||
36 | 'ar', |
||
37 | 'fa', |
||
38 | 'he' |
||
39 | ] |
||
40 | ]; |
||
41 | |||
42 | /** |
||
43 | * process |
||
44 | * |
||
45 | * @since 3.0.0 |
||
46 | * |
||
47 | * @return string|null |
||
48 | */ |
||
49 | |||
50 | 3 | public function process() : ?string |
|
65 | } |
||
66 |