aboutsummaryrefslogtreecommitdiff
path: root/src/phinde/Helper.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/phinde/Helper.php')
-rw-r--r--src/phinde/Helper.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/phinde/Helper.php b/src/phinde/Helper.php
index 4863961..0b98521 100644
--- a/src/phinde/Helper.php
+++ b/src/phinde/Helper.php
@@ -11,5 +11,14 @@ class Helper
}
return true;
}
+
+ public static function noSchema($url)
+ {
+ return str_replace(
+ array('http://', 'https://'),
+ '',
+ $url
+ );
+ }
}
?>