1 | <?php |
||
2 | declare(strict_types=1); |
||
3 | |||
4 | namespace Redislabs\Module\ReJSON; |
||
5 | |||
6 | final class Path |
||
7 | { |
||
8 | private $path; |
||
9 | |||
10 | public function __construct(?string $path = '.') |
||
11 | { |
||
12 | $this->path = $path; |
||
13 | } |
||
14 | |||
15 | public function getPath() : string |
||
16 | { |
||
17 | return $this->path; |
||
0 ignored issues
–
show
Bug
Best Practice
introduced
by
![]() |
|||
18 | } |
||
19 | } |
||
20 |