Skip to content

Commit e03bc31

Browse files
committed
Adding getter in pathinfo
1 parent 6a99677 commit e03bc31

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Ferret/Detector/Pathinfo.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,11 @@ public function setMapping($mapping)
7676
return false;
7777
}
7878

79-
79+
public function getMapping()
80+
{
81+
return $this->mapping;
82+
}
83+
8084
public function detect($filepath)
8185
{
8286
$ext = strtolower(pathinfo($filepath, PATHINFO_EXTENSION));

0 commit comments

Comments
 (0)